Global Configuration Mode Filtering
You can filter the contents of event logs at the Exec mode and Global Configuration mode levels.
Follow the example below to configure run time event logging parameters for the system:
configure
logging filter runtime facility facility level report_level
logging display { event-verbosity | pdu-data | pdu-verbosity }
end
Notes:
•
facility facility
and
level severity_level
–
Configure the logging filter that determines which system
facilities should be logged and at what levels. For detailed information, see
page 170
and
Event Severities, on page 195
.
•
Repeat for every facility that you would like to log.
•
Optional:
Configure event ID restrictions by adding the
logging disable eventid
command. The system
provides the ability to restrict the sending of a specific event ID or a range of event IDs to minimize the
amount of data logged to that which is most useful. Repeat to disable logging for additional event IDs
or event ID ranges.
Save the configuration as described in the
Verifying and Saving Your Configuration
chapter.
Configuring syslog Servers
Information generated by the run time event logging filters can be transmitted to a syslog server for permanent
storage.
The data transmitted to the syslog server is meant to be used for informational purposes. Functions such
as billing and performance monitoring should not be based on syslogs.
Important
Although the system provides the flexibility to configure syslog servers on a context-by-context basis, it
is recommended that all servers be configured in the
local
context in order to isolate the log traffic from
the network traffic.
Important
Use the following example to configure syslog servers:
configure
context local
logging syslog ip_address
end
Notes:
•
ip_address
specifies the IP address of a system log server on the network in IPv4 dotted-decimal or IPv6
colon-separated-hexadecimal notation.
ASR 5000 System Administration Guide, StarOS Release 21.1
169
System Logs
Configuring syslog Servers
Summary of Contents for ASR 5000
Page 26: ...ASR 5000 System Administration Guide StarOS Release 21 1 xxvi Contents ...
Page 316: ...ASR 5000 System Administration Guide StarOS Release 21 1 288 VLANs VLAN Related CLI Commands ...
Page 400: ...ASR 5000 System Administration Guide StarOS Release 21 1 372 Engineering Rules ECMP Groups ...