Cisco Systems OL-14361-01 Configuring Logging and Logging Correlation, Level Description, 114

Page 12

Chapter 5 Configuring Additional Router Features

Configuring Logging and Logging Correlation

Configuring Logging and Logging Correlation

System messages generated by the Cisco IOS XR software can be logged to a variety of locations based on the severity level of the messages. For example, you could direct information messages to the system console and also log debugging messages to a network server.

In addition, you can define correlation rules that group and summarize related events, generate complex queries for the list of logged events, and retrieve logging events through an XML interface.

The following sections describe logging and the basic commands used to log messages in

Cisco IOS XR software:

Logging Locations and Severity Levels, page 5-114

Alarm Logging Correlation, page 5-115

Configuring Basic Message Logging, page 5-115

Logging Locations and Severity Levels

Error messages can be logged to a variety of locations, as shown in Table 5-1.

Table 5-1

Logging Locations for System Error Messages

 

 

Logging Destination

Command (Global Configuration Mode)

 

 

 

console

 

logging console

 

 

 

vty terminal

 

logging monitor

 

 

external syslog server

logging trap

 

 

 

internal buffer

 

logging buffered

 

 

 

You can log messages based on the severity level of the messages, as shown in Table 5-2.

Table 5-2

Logging Severity Levels for System Error Messages

 

 

 

Level

 

Description

 

 

Level 0—Emergencies

System has become unusable.

 

 

Level 1—Alerts

Immediate action needed to restore system stability.

 

 

Level 2—Critical

Critical conditions that may require attention.

 

 

Level 3—Errors

Error conditions that may help track problems.

 

 

Level 4—Warnings

Warning conditions that are not severe.

 

 

Level 5—Notifications

Normal but significant conditions that bear notification.

 

 

Level 6—Informational

Informational messages that do not require action.

 

 

Level 7—Debugging

Debugging messages are for system troubleshooting only.

 

 

 

 

Cisco IOS XR Getting Started Guide

5-114

OL-14361-01

Image 12
Contents Configuring Additional Router Features ContentsCommand or Action Purpose ConfigureExample 104Related Topic Document Title 105End CommitConfiguring Telnet, HTTP, and XML Host Services Prerequisites106 107 Telnet ipv4 server max-servers limitTelnet ipv6 server max-servers limit Http serverManaging Configuration History and Rollback RP/0/RP0/CPU0routerconfig# telnet ipv6 server max-servers108 Displaying the Configuration Changes Recorded in a CommitID Displaying the CommitIDs109 Previewing Rollback Configuration Changes Rolling Back the Configuration to a Specific Rollback PointRP/0/RP1/CPU0router# show configuration rollback changes to 110RP/0/RP1/CPU0router# rollback configuration to RP/0/RP0/CPU0router# rollback configuration last111 RP/0/RP1/CPU0router# show configuration commit changes ? 112Deleting CommitIDs 113Configuring Logging and Logging Correlation Logging Destination Command Global Configuration ModeLogging Locations and Severity Levels Level DescriptionAlarm Logging Correlation Configuring Basic Message Logging115 Logging trap severity116 Logging console severityShow logging Disabling Console Logging 117Command Description 118Configuring User Accounts Creating Users and Assigning Groups119 Password 0 7 password Secret 0 5 password120 Username user-nameConfiguring Software Entitlement Configuration Limiting121 Static Route Configuration Limits IS-IS Configuration Limits122 OSPFv2 and v3 Configuration Limits Description Limit Router Configuration Mode Exec Mode123 Maximum Interfaces for Each Ospf Instance Example 124BGP Configuration Limits 125Maximum paths 126Routing Policy Language Line and Policy Limits 127128 Multicast Configuration Limits Default Absolute Maximum Show Current SettingsLimit Configuration Command Command Exec Mode 129Mpls Configuration Limits Other Configuration Limits130