70-6
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 70 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.
Enabling and Disabling Timestamps on Log Messages
Note
By default, log messages are not time-stamped.
To enable time-stamping of log messages, perform this task:
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
line
[
console
|
vty
]
line-number
[
ending-line-number
]
Specifies the line to be configured for synchronous logging of
messages.
•
Use the
console
keyword for configurations that occur using the
switch console port.
•
Use the
line vty
line-number
command to specify which vty
lines are to have synchronous logging enabled. You use a vty
connection for configurations that occur through a Telnet
session. The range of line numbers is from 0 to 15.
You can change the setting of all 16 vty lines at once by entering:
line vty 0 15
Or you can change the setting of the single vty line being used for
your current connection. For example, to change the setting for vty
line 2, enter:
line vty 2
When you enter this command, the mode changes to line
configuration.
Step 3
Switch(config)#
logging synchronous
[
level
[
severity-level
|
all
] |
limit
number-of-buffers
]
Enables synchronous logging of messages.
•
(Optional) For
level
severity-level
, specify the message severity
level. Messages with a severity level equal to or higher than this
value are printed asynchronously. Low numbers mean greater
severity and high numbers mean lesser severity. The default is 2.
•
(Optional) Specifying
level all
means that all messages are
printed asynchronously regardless of the severity level.
•
(Optional) For
limit
number-of-buffers
,
specify the number of
buffers to be queued for the terminal after which new messages
are dropped. The range is 0 to 2147483647. The default is 20.
Step 4
Switch(config)#
end
Returns to privileged EXEC mode.
Step 5
Switch#
show running-config
Verifies your entries.
Step 6
Switch#
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...