Cisco Systems 2955 Switch User Manual


 
26-8
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Chapter 26 Configuring System Message Logging
Configuring System Message Logging
Defining the Message Severity Level
You can limit messages displayed to the selected device by specifying the severity level of the message,
which are described in
Table 26-3.
Beginning in privileged EXEC mode, follow these steps to define the message severity level:
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.
Table 26-3 describes the level keywords. It also lists the corresponding UNIX syslog definitions from
the most severe level to the least severe level.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
logging console level Limit messages logged to the console.
By default, the console receives debugging messages and numerically
lower levels (see
Table 26-3 on page 26-8).
Step 3
logging monitor level Limit messages logged to the terminal lines.
By default, the terminal receives debugging messages and numerically
lower levels (see
Table 26-3 on page 26-8).
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 26-3 on page 26-8).
For complete syslog server configuration steps, see the “Configuring
UNIX Syslog Servers” section on page 26-10.
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.
Ta b l e 26-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