Troubleshooting
Using Logging To Identify Problem Sources
Enabling or Disabling Logging to Management Sessions and SyslogD
Servers. Use this command when you want to do any of the following:
■ Disable Syslog logging on all currently configured SyslogD servers with-
out removing the servers from the switch configuration.
■ Re-enable Syslog logging if it is disabled and there is at least one SyslogD
server currently configured in the switch.
■ Enable or disable logging output to the current management-access ses-
sion.
Syntax:
[no] debug destination < logging | session >
logging
The no form of the command disables Syslog logging,
but retains the currently configured SyslogD server
addresses in the switch configuration.When Syslog log-
ging is currently disabled with one or more SyslogD
servers configured, this command enables Syslog log-
ging on the switch. The show config command output
includes the SyslogD server IP addresses currently con-
figured in the startup-config file.
session
Enables and disables debug logging to the current ses-
sion. The “current session” is the session that most
recently executed debug destination session on the switch
(since the last reboot). This makes it easy to move
session logging from one session to another.
For example, figure C-11 shows the process for checking the current Syslog
status and then disabling Syslog logging.
C-31