Specifications
13-8
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 13 Configuring System Message Logging
Configuring System Message Logging
To disable synchronization of unsolicited messages and debug output, use the no logging synchronous
[level severity-level | all] [limit number-of-buffers] line configuration command.
EXAMPLE
In the following example, synchronous logging for line 4 is enabled with a severity level of 6. Then
synchronous logging for line 2 is enabled with a severity level of 7 and is specified with a maximum
number of buffer lines of 1,000.
Switch(config)# line 4
Switch(config-line)# logging synchronous level 6
Switch(config-line)# exit
Switch(config)# line 2
Switch(config-line)# logging synchronous level 7 limit 1000
Switch(config-line)# end
Enabling and Disabling Time Stamps on Log Messages
By default, log messages are not time stamped.
BEFORE YOU BEGIN
Ensure that the system clock is set correctly. For more information, see Chapter 4, “Administering the
Switch.”
DETAILED STEPS
Step 4
end Return to privileged EXEC mode.
Step 5
show running-config Verify your entries.
Step 6
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
service timestamps log uptime
or
service timestamps log datetime [msec]
[localtime] [show-timezone]
Enable 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 Return to privileged EXEC mode.
Step 4
show running-config Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.