Limiting Syslog Messages Sent To The History Table And To Snmp - Cisco Catalyst 3750 Software Configuration Manual

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 23
Configuring System Message Logging
Table 23-3 Message Logging Level Keywords
Level Keyword
emergencies
alerts
critical
errors
warnings
notifications
informational
debugging
The software generates four other categories of messages:

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
on page
Beginning in privileged EXEC mode, follow these steps to change the level and history table size
defaults. This procedure is optional.
Command
Step 1
configure terminal
Step 2
logging history level
78-15870-01
Level
0
1
2
3
4
5
6
7
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, refer to 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.
23-9) are stored in the history table even if syslog traps are not enabled.
Purpose
Enter global configuration mode.
1
Change the default level of syslog messages stored in the history file and
sent to the SNMP server.
See
By default, warnings, errors, critical, alerts, and emergencies messages
are sent.
Description
System unstable
Immediate action needed
Critical conditions
Error conditions
Warning conditions
Normal but significant condition
Informational messages only
Debugging messages
Table 23-3 on page 23-9
for a list of level keywords.
Catalyst 3750 Metro Switch Software Configuration Guide
Configuring System Message Logging
Syslog Definition
LOG_EMERG
LOG_ALERT
LOG_CRIT
LOG_ERR
LOG_WARNING
LOG_NOTICE
LOG_INFO
LOG_DEBUG
Table 23-3
23-9

Advertisement

Table of Contents
loading

Table of Contents