Global Configuration Mode Filtering; Configuring Syslog Servers - Cisco ASR 5000 Administration Manual

Staros release 21.1
Hide thumbs Also See for ASR 5000:
Table of Contents

Advertisement

System Logs

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
• Repeat for every facility that you would like to log.
• Optional: Configure event ID restrictions by adding the logging disable eventid command. The system
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.
Important
Important
Use the following example to configure syslog servers:
configure
context local
Notes:
• ip_address specifies the IP address of a system log server on the network in IPv4 dotted-decimal or IPv6
facilities should be logged and at what levels. For detailed information, see
page 170
and
Event Severities, on page
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.
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.
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.
logging syslog ip_address
end
colon-separated-hexadecimal notation.
195.
ASR 5000 System Administration Guide, StarOS Release 21.1
Configuring syslog Servers
Specifying Facilities, on
169

Advertisement

Table of Contents
loading

Table of Contents