Cisco Systems OL-14361-01 manual Alarm Logging Correlation, Configuring Basic Message Logging, 115

Page 13

Chapter 5 Configuring Additional Router Features

Configuring Logging and Logging Correlation

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 a card 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 IOS XR 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.configure

2.logging {ip-address hostname}

3.logging trap severity

4.logging console [severity]

5.logging buffered [severity buffer-size]

6.commit

7.end

8.show logging

DETAILED STEPS

 

 

Command or Action

Purpose

 

Step 1

 

 

 

configure

Enters global configuration mode.

 

 

Example:

 

 

 

 

 

 

RP/0/RP0/CPU0:router# configure

 

 

 

 

 

Step 2

 

 

 

logging {ip-address hostname}

Specifies a syslog server host to use for system logging.

 

 

Example:

 

 

 

 

 

 

RP/0/RP0/CPU0:router(config)# logging 10.1.1.1

 

 

 

 

 

Step 3

 

 

 

logging trap severity

Limits the logging of messages sent to syslog servers to

 

 

 

only those messages at the specified level.

 

 

Example:

See Table 5-2for a summary of the logging severity

 

 

RP/0/RP0/CPU0:router(config)# logging trap

levels.

 

 

debugging

 

 

 

 

 

 

 

 

 

 

 

 

 

Cisco IOS XR Getting Started Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-14361-01

 

 

5-115

 

 

 

 

 

Image 13
Contents Contents Configuring Additional Router FeaturesConfigure Command or Action PurposeExample 104105 Related Topic Document TitleEnd CommitPrerequisites Configuring Telnet, HTTP, and XML Host Services106 Telnet ipv4 server max-servers limit 107Telnet ipv6 server max-servers limit Http serverRP/0/RP0/CPU0routerconfig# telnet ipv6 server max-servers Managing Configuration History and Rollback108 Displaying the CommitIDs Displaying the Configuration Changes Recorded in a CommitID109 Rolling Back the Configuration to a Specific Rollback Point Previewing Rollback Configuration ChangesRP/0/RP1/CPU0router# show configuration rollback changes to 110RP/0/RP0/CPU0router# rollback configuration last RP/0/RP1/CPU0router# rollback configuration to111 112 RP/0/RP1/CPU0router# show configuration commit changes ?113 Deleting CommitIDsLogging Destination Command Global Configuration Mode Configuring Logging and Logging CorrelationLogging Locations and Severity Levels Level DescriptionConfiguring Basic Message Logging Alarm Logging Correlation115 Logging trap severityLogging console severity 116Show logging 117 Disabling Console Logging118 Command DescriptionCreating Users and Assigning Groups Configuring User Accounts119 Secret 0 5 password Password 0 7 password120 Username user-nameConfiguration Limiting Configuring Software Entitlement121 IS-IS Configuration Limits Static Route Configuration Limits122 Description Limit Router Configuration Mode Exec Mode OSPFv2 and v3 Configuration Limits123 124 Maximum Interfaces for Each Ospf Instance Example125 BGP Configuration Limits126 Maximum paths127 Routing Policy Language Line and Policy Limits128 Default Absolute Maximum Show Current Settings Multicast Configuration LimitsLimit Configuration Command Command Exec Mode 129Other Configuration Limits Mpls Configuration Limits130