35-10
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 35 Configuring System Message Logging
Monitoring and Maintaining the System Message Log

Configuring the UNIX System Logging Facility

When sending system log messages to an external device, you can cause the switch to identify its
messages as originating from any of the UNIX syslog facilities.
Monitoring and Maintaining the System Message LogConfiguration Examples for the System Message Log

System Message: Example

This example shows a partial switch system message:
00:00:46: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
00:00:47: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up
00:00:47: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up
00:00:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
00:00:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed
state to down 2
*Mar 1 18:46:11: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
18:47:02: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
*Mar 1 18:48:50.483 UTC: %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 logging host Logs messages to a UNIX syslog server host by entering its IP address.
To build a list of syslog servers that receive logging messages, enter this
command more than once.
Step 3 logging trap level Limits messages logged to the syslog servers.
Be default, syslog servers receive informational messages and lower. See
Table 35-2 on page 35-3 for level keywords.
Step 4 logging facility facility-type Configures the syslog facility. See Table 35-3 on page 35-4 for
facility-type keywords.
The default is local7.
Step 5 end Returns to privileged EXEC mode.
Command Purpose
show logging Displays logging messages.
show archive log config Displays the configuration log.