Troubleshooting

Debug/Syslog Operation

As shown at the top of Figure C-10, if you enter the show debug command when no Syslog server IP address is configured, the configuration settings for Syslog server facility, Event Log severity level and system module are not displayed.

However, after you configure a Syslog server address and enable Syslog logging, all debug and logging settings are displayed with the show debug command. If you do not want Event Log messages sent to Syslog servers, you can block the messages from being sent by entering the no debug event command. (There is no effect on the normal logging of messages in the switch’s Event Log.)

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-41.

 

 

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 (Event Log and LLDP) to configured debug destination(s). (Default: Disabled - No debug messages are sent.)

C-38