Cisco Systems A9K24X10GETR Configuring Logging and Logging Correlation, logging console, 4-12

Models: A9KMOD80TR A9K24X10GETR ASR 9000

1 142
Download 142 pages 58.88 Kb
Page 88
Image 88
Configuring Logging and Logging Correlation

Chapter 4 Configuring Additional Router Features

Configuring Logging and Logging Correlation

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

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 4-12

Alarm Logging Correlation, page 4-13

Configuring Basic Message Logging, page 4-13

Disabling Console Logging, page 4-15

Logging Locations and Severity Levels

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

Table 4-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 4-2.

Table 4-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 ASR 9000 Series Aggregation Services Router Getting Started Guide

4-12

OL-17502-01

Page 88
Image 88
Cisco Systems A9K24X10GETR manual Configuring Logging and Logging Correlation, Logging Locations and Severity Levels, 4-12