30-9
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 30 Configuring System Message Logging
Configuring System Message Logging
Note Specifying a level causes messages at that level and numerically lower levels to appear at the destination.
To disable logging to the console, use the no logging console global configuration command. To disable
logging to a terminal other than the console, use the no logging monitor global configuration command.
To disable logging to syslog servers, use the no logging trap global configuration command.
Tabl e 30-3 describes the level keywords. It also lists the corresponding UNIX syslog definitions from
the most severe level to the least severe level.
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.
Step 4 logging trap level Limit messages logged to the syslog servers.
By default, syslog servers receive informational messages and
numerically lower levels (see Table 30-3 on page 30-9).
For complete syslog server configuration steps, see the “Configuring
UNIX Syslog Servers” section on page 30-12.
Step 5 end Return to privileged EXEC mode.
Step 6 show running-config
or
show logging
Verify your entries.
Step 7 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Tab l e 30-3 Message Logging Level Keywords
Level Keyword Level Description Syslog Definition
emergencies 0System unstable LOG_EMERG
alerts 1Immediate action needed LOG_ALERT
critical 2Critical conditions LOG_CRIT
errors 3Error conditions LOG_ERR
warnings 4Warning conditions LOG_WARNING
notifications 5Normal but significant condition LOG_NOTICE
informational 6Informational messages only LOG_INFO
debugging 7Debugging messages LOG_DEBUG