Users Guide

Switch Management Commands 2082
debug console
Use the debug console to enable the display of “debug” trace output on the
login session in which it is executed. Debug console display must be enabled
in order to view any trace output. The output of debug trace commands
appears on all login sessions for which debug console has been enabled. The
configuration of this command remains in effect for the life of the login
session. The effect of this command is not persistent across resets.
Syntax
debug console
Default Configuration
Display of debug traces is disabled by default.
Command Mode
Privileged Exec mode.
User Guidelines
Debug output should be enabled with caution. Switch behavior may be
adversely affected by the additional processing load incurred from enabling
debug.
Example
console#debug console
debug crashlog
Use this command to display the crash log contents on the console.
Syntax
debug crashlog {crashlog-index | proc | kernel crashlog-index | data
crashlog-index [comp-id] [item-number] [add-param] [add-param] |
deleteall} [unit unit-index]
crashlog-index—Indicates which crash log to display. The range is 0-4. 0
indicates the most recent log and 4 specifies the oldest log.