You can remotely monitor system messages by viewing the logs on a syslog server or by accessing the switch
through Telnet, through the console port, or through the Ethernet management port. In a switch stack, all stack
member consoles provide the same console output.
The syslog format is compatible with 4.3 BSD UNIX.
Note
System Log Message Format
System log messages can contain up to 80 characters and a percent sign (%), which follows the optional
sequence number or time-stamp information, if configured. Depending on the switch, messages appear in one
of these formats:
•
seq no:timestamp: %facility-severity-MNEMONIC:description (hostname-n)
•
seq no:timestamp: %facility-severity-MNEMONIC:description
The part of the message preceding the percent sign depends on the setting of these global configuration
commands:
•
service sequence-numbers
•
service timestamps log datetime
•
service timestamps log datetime
[
localtime
] [
msec
] [
show-timezone
]
•
service timestamps log uptime
Table 146: System Log Message Elements
Description
Element
Stamps log messages with a sequence number only
if the
service sequence-numbers
global configuration
command is configured.
seq no:
Date and time of the message or event. This
information appears only if the
service timestamps
log
[
datetime
|
log
] global configuration command
is configured.
timestamp
formats:
mm/dd h h:mm:ss
or
hh:mm:ss
(short uptime)
or
d h
(long uptime)
The facility to which the message refers (for example,
SNMP, SYS, and so forth).
facility
Single-digit code from 0 to 7 that is the severity of
the message.
severity
Text string that uniquely describes the message.
MNEMONIC
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1598
Information About Configuring System Message Logs
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......