24-2
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 24 Configuring System Message Logging
Configuring System Message Logging
You can remotely monitor system messages by viewing the logs on a syslog server or by accessing the
switch through Telnet or through the console port.
Configuring System Message Logging
•
System Log Message Format, page 24-2
•
Default System Message Logging Configuration, page 24-3
•
Disabling Message Logging, page 24-3
(optional)
•
Setting the Message Display Destination Device, page 24-4
(optional)
•
Synchronizing Log Messages, page 24-5
(optional)
•
Enabling and Disabling Time Stamps on Log Messages, page 24-7
(optional)
•
Enabling and Disabling Sequence Numbers in Log Messages, page 24-7
(optional)
•
Defining the Message Severity Level, page 24-8
(optional)
•
Limiting Syslog Messages Sent to the History Table and to SNMP, page 24-9
(optional)
•
Enabling the Configuration-Change Logger, page 24-10
(optional)
•
Configuring UNIX Syslog Servers, page 24-11
(optional)
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. Messages appear in this format:
seq no:timestamp: %facility-severity-MNEMONIC:description
The part of the message preceding the percent sign depends on the setting of the service
sequence-numbers, service timestamps log datetime, service timestamps log datetime [localtime]
[msec] [show-timezone], or service timestamps log uptime global configuration command.
Table 24-1
describes the elements of syslog messages.
Table 24-1
System Log Message Elements
Element
Description
seq no:
Stamps log messages with a sequence number only if the service sequence-numbers global
configuration command is configured.
For more information, see the
“Enabling and Disabling Sequence Numbers in Log Messages”
section on page 24-7
.
timestamp formats:
mm/dd hh:mm:ss
or
hh:mm:ss (short uptime)
or
d h (long uptime)
Date and time of the message or event. This information appears only if the service timestamps
log [datetime | log] global configuration command is configured.
For more information, see the
“Enabling and Disabling Time Stamps on Log Messages” section
on page 24-7
.
facility
The facility to which the message refers (for example, SNMP, SYS, and so forth). For a list of
supported facilities, see
Table 24-4 on page 24-13
.