Troubleshooting

Debug/Syslog Operation

Configuring the System Module Used to Select the Event Log Messages Sent to a Syslog Server

Event Log messages contain the name of the system module that reported the event. Using the logging system-modulecommand, you can select a set of Event Log messages according to the originating system module and send them to a Syslog server. To configure a Syslog server, see “Configuring a Syslog Server” on page C-41.

Using the logging system-modulecommand, you can select messages from only one system module to be sent to a Syslog server. You cannot configure messages from multiple system modules to be sent. If you re-enter the command with a different system module name, the currently configured value is replaced with the new one.

Syntax: [no] logging system-module < system-module>

Configures the switch to send all Event Log messages being logged from the specified system module to configured Syslog servers.

Refer to Table C-1 on page C-27 for the correct value to enter for each system module.

Default: all-pass(Reports all Event Log messages.)

Use the no form of the command to remove the configured system module value and reconfigure the default value, which sends Event Log messages from all system modules to Syslog servers.

Note: This setting has no effect on event notification messages that the switch normally sends to the Event Log.

Operating Notes for Debug and Syslog

Rebooting the Switch or pressing the Reset button resets the Debug Configuration.

Debug Option

Effect of a Reboot or Reset

 

 

logging (debug destination)

If Syslog server IP addresses are stored in the startup-config

 

file, they are saved across a reboot and the logging

 

destination option remains enabled. Otherwise, the logging

 

destination is disabled.

session (debug destination)

Disabled.

All (debug type)

Disabled.

C-47