Configuring Basic Message Logging - Cisco XR 12000 Series Getting Started Manual

Hide thumbs Also See for XR 12000 Series:
Table of Contents

Advertisement

Configuring Logging and Logging Correlation
follow-on error messages can be isolated and sent to the correlation buffer. An operator can extract all
correlated messages for display later, should the need arise. For more information, see Cisco IOS XR System
Management Configuration Guide for the Cisco XR 12000 Series Router.

Configuring Basic Message Logging

Numerous options for logging system messages in Cisco IOS XR software are available. This section
provides a basic example.
To configure basic message logging, follow these steps:
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
8.
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/0/CPU0:router# configure
Step 2
logging {ip-address | hostname}
Example:
RP/0/0/CPU0:router(config)# logging 10.1.1.1
Step 3
logging trap severity
Example:
RP/0/0/CPU0:router(config)# logging trap
debugging
Step 4
logging console [severity]
Example:
RP/0/0/CPU0:router(config)# logging console
emergencies
Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router
4-88
configure
logging {ip-address | hostname}
logging trap severity
logging console [severity]
logging buffered [severity | buffer-size]
commit
end
show logging
Chapter 4
Configuring Additional Router Features
Purpose
Enters global configuration mode.
Specifies a syslog server host to use for system logging.
Limits the logging of messages sent to syslog servers to
only those messages at the specified level.
Table 4-2
shows a summary of the logging severity
levels.
Logs messages on the console.
When a severity level is specified, only messages at
that severity level are logged on the console.
Table 4-2
shows a summary of the logging severity
levels.
OL-24755-01

Advertisement

Table of Contents
loading

Table of Contents