35-8
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 35 Configuring System Message Logging
How to Configure System Message Logging
Enabling and Disabling Time Stamps on Log MessagesEnabling and Disabling Sequence Numbers in Log Messages
Because there is a chance that more than one log message can have the same time stamp, you can display
messages with sequence numbers so that you can unambiguously see a single message. By default,
sequence numbers in log messages are not displayed.
Defining the Message Severity Level
You can limit messages displayed to the selected device by specifying the severity level of the message,
which are described in Table 35-2.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 service timestamps log uptime
or
service timestamps log datetime [msec] [localtime]
[show-timezone]
Enables log time stamps.
The first command enables time stamps on log messages,
showing the time since the system was rebooted.
The second command enables time stamps on log messages.
Depending on the options selected, the time stamp can
include the date, time in milliseconds relative to the local
time-zone, and the time zone name.
Step 3 end Returns to privileged EXEC mode.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 service sequence-numbers Enables sequence numbers.
Step 3 end Returns to privileged EXEC mode.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 logging console level Limits messages logged to the console.
By default, the console receives debugging messages and numerically
lower levels.
Step 3 logging monitor level Limits messages logged to the terminal lines.
By default, the terminal receives debugging messages and numerically
lower levels.
Step 4 logging trap level Limits messages logged to the syslog servers.
By default, syslog servers receive informational messages and
numerically lower levels.
Step 5 end Returns to privileged EXEC mode.