Chapter 4
Configuring Additional Router Features
Alarm Logging Correlation
Alarm logging correlation is used to group and filter similar messages to reduce the amount of redundant
logs and isolate the root causes of the messages.
For example, the original message describing the online insertion and removal (OIR) and system state
being up or down can be reported, and all subsequent messages reiterating the same event can be
correlated. When you create correlation rules, a common root event that is generating larger volumes of
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. See Cisco ASR 9000 Series Aggregation
Services Router System Management Configuration Guide for more information.
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, complete the following steps:
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
8.
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
logging {ip-address | hostname}
Example:
RP/0/RSP0/CPU0:router(config)# logging 10.1.1.1
Step 3
logging trap severity
Example:
RP/0/RSP0/CPU0:router(config)# logging trap
debugging
OL-17502-01
F I N A L D R A F T — C i s c o C o n f i d e n t i a l
configure
logging {ip-address | hostname}
logging trap severity
logging console [severity]
logging buffered [severity | buffer-size]
commit
end
show logging
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.
•
See
Table 4-2
levels.
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
Configuring Logging and Logging Correlation
for a summary of the logging severity
4-13