Specifications

13-11
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 13 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.
EXAMPLE
The following example shows how to change the level of messages sent to the console terminal to alerts,
meaning that messages at levels 0 and 1 are sent:
Switch(config)# logging console alerts
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 13-2
on page 13-10) are stored in the history table even if syslog traps are not enabled.
BEFORE YOU BEGIN
For information about enabling syslog message traps using the snmp-server enable trap command, see
Chapter 14, “Configuring SNMP.
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 13-2 on page 13-10).
For complete syslog server configuration steps, see the
“Configuring UNIX Syslog Servers” section on page 13-14.
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