Troubleshooting

Debug/Syslog Operation

Debug Command

At the manager level, use the debug command to perform two main functions:

Specifies the types of event messages to be sent to an external destination.

Specifies the destinations to which selected message types are sent.

 

By default, no debug destination is enabled and only Event Log messages are

 

enabled to be sent.

 

 

N o t e

To configure a Syslog server, use the logging <syslog-ip-addr> command. For

 

more information, see “Configuring a Syslog Server” on page C-49.

 

 

Debug Messages

Use the debug command to configure the types of debug messages that the switch can send to configured debug destinations.

Syntax: [no] debug < debug-type> all

Configures the switch to send all debug message types to configured debug destination(s). (Default: Disabled - No debug messages are sent.)

event

Configures the switch to send Event Log messages to configured debug destinations.

Note: This value does not affect the reception of event notification messages in the Event Log on the switch.

Syntax: [no] debug < debug-type> (Continued) event

Event Log messages are automatically enabled to be sent to debug destinations in these conditions:

If no Syslog server address is configured and you enter the logging <syslog-ip-addr>command to configure a destination address.

If at least one Syslog server address is configured in the startup configuration and the switch is rebooted or reset.

Event log messages are the default type of debug message sent to configured debug destinations.

ip

Enables all IP-OSPF messages for configured destinations.

C-45