34-4
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 34 Configuring System Message Logging
Configuring System Message Logging
This example shows a partial switch system message on a Catalyst 3560-X switch:
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)
Default System Message Logging ConfigurationDisabling Message Logging
Message logging is enabled by default. It must be enabled to send messages to any destination other than
the console. When enabled, log messages are sent to a logging process, which logs messages to
designated locations asynchronously to the processes that generated the messages.
Beginning in privileged EXEC mode, follow these steps to disable message logging. This procedure is
optional.
Tab le 34-2 Default System Message Logging Configuration
Feature Default Setting
System message logging to the console Enabled.
Console severity Debugging (and numerically lower levels; see
Table 34-3 on page 34-10).
Logging file configuration No filename specified.
Logging buffer size 4096 bytes.
Logging history size 1 message.
Time stamps Disabled.
Synchronous logging Disabled.
Logging server Disabled.
Syslog server IP address None configured.
Server facility Local7 (see Table 34-4 on page 34-14).
Server severity Informational (and numerically lower levels; see
Table 34-3 on page 34-10).
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 no logging console Disable message logging.
Step 3 end Return to privileged EXEC mode.