26-3
Catalyst 2960 Switch Software Configuration Guide
78-16881-01
Chapter 26 Configuring System Message Logging
Configuring System Message Logging
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)
Default System Message Logging Configuration
Table 26-2 shows the default system message logging configuration.
Disabling 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.
MNEMONIC Text string that uniquely describes the message.
description Text string containing detailed information about the event being reported.
Table 26-1 System Log Message Elements (continued)
Element Description
Table 26-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 26-3 on page 26-9).
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 26-4 on page 26-12).
Server severity Informational (and numerically lower levels; see
Table 26-3 on page 26-9).