Chapter 32 Configuring System Message Logging

Configuring System Message Logging

Table 32-3describes the level keywords. It also lists the corresponding UNIX syslog definitions from the most severe level to the least severe level.

Table 32-3

Message Logging Level Keywords

 

 

 

 

 

 

Level Keyword

 

Level

Description

Syslog Definition

 

 

 

 

 

emergencies

 

0

System unstable

LOG_EMERG

 

 

 

 

 

alerts

 

1

Immediate action needed

LOG_ALERT

 

 

 

 

 

critical

 

2

Critical conditions

LOG_CRIT

 

 

 

 

 

errors

 

3

Error conditions

LOG_ERR

 

 

 

 

 

warnings

 

4

Warning conditions

LOG_WARNING

 

 

 

 

 

notifications

 

5

Normal but significant condition

LOG_NOTICE

 

 

 

 

 

informational

 

6

Informational messages only

LOG_INFO

 

 

 

 

 

debugging

 

7

Debugging messages

LOG_DEBUG

 

 

 

 

 

The software generates four other categories of messages:

Error messages about software or hardware malfunctions, displayed at levels warnings through emergencies. These types of messages mean that the functionality of the switch is affected. For information on how to recover from these malfunctions, see the system message guide for this release.

Output from the debug commands, displayed at the debugging level. Debug commands are typically used only by the Technical Assistance Center.

Interface up or down transitions and system restart messages, displayed at the notifications level. This message is only for information; switch functionality is not affected.

Reload requests and low-process stack messages, displayed at the informational level. This message is only for information; switch functionality is not affected.

Limiting Syslog Messages Sent to the History Table and to SNMP

If you enabled syslog message traps to be sent to an SNMP network management station by using the snmp-server enable trap global configuration command, you can change the level of messages sent and stored in the switch history table. You also can change the number of messages that are stored in the history table.

Messages are stored in the history table because SNMP traps are not guaranteed to reach their destination. By default, one message of the level warning and numerically lower levels (see Table 32-3 on page 32-10) are stored in the history table even if syslog traps are not enabled.

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

32-10

OL-9775-02

Page 676
Image 676
Cisco Systems 3750E manual Level Description Syslog Definition, 32-10