Troubleshooting guide
(DRAFT LABEL) FINAL DRAFT - CISCO CONFIDENTIAL 2/13/02
A-8
ATM and Layer 3 Switch Router Troubleshooting Guide
OL-1969-01
Appendix
Enabling Message Logging
Limiting the Types of Logging Messages Sent to the Console
The logging console command limits the logging messages displayed on the console terminal to
messages up to and including the specified severity level, which is specified by the level argument.
The level argument is one of the keywords listed in Table A-1. Keywords are listed in order from the
most severe level to the least severe level.
The no logging console command disables logging to the console terminal.
Example
The following example sets console logging of messages at the debugging level, which is the least severe
level and displays all logging messages:
Switch(config)# logging console debugging
Logging Messages to an Internal Buffer
The logging buffered command copies logging messages to an internal buffer instead of writing them
to the console terminal. The buffer is circular in nature, so newer messages overwrite older messages.
To display the messages that are logged in the buffer, use the show logging privileged EXEC command.
The first message displayed is the oldest message in the buffer. The no logging buffered command
cancels the use of the buffer and writes messages to the console terminal, which is the default setting.
Example
The following example copies logging messages to buffered memory and sets the memory buffer space
as 10,000 bytes:
Switch(config)# logging buffered 10000
Limiting the Types of Logging Messages Sent to Another Monitor
The logging monitor command limits the logging messages that are displayed on terminal lines—other
than the console line—to messages with a level up to and including the specified level argument. The
level argument is one of the keywords listed in Table A-1. To display logging messages on a terminal
(virtual console), use the terminal monitor privileged EXEC command.
The no logging monitor command disables logging to terminal lines other than the console line.
Example
The following example sets the level of messages displayed on monitors other than the console to
notification level:
Switch(config)# logging monitor notification