
C-42
Troubleshooting
Debug/Syslog Operation
Debug/Syslog Configuration Commands
Figure C-12. Summary of Debug/Syslog Configuration Commands
Event
Notification
Logging
—
Automatically sends switch-level event messages to the switch’s Event Log. Debug
and Syslog do not affect this operation, but add the capability of directing Event
Log messaging to an external device.
logging
Command
<
syslog-ip-addr
>
Enables Syslog messaging to be sent to the specified IP address.
facility
(Optional) The
logging facility
command specifies the destination (facility)
subsystem used on a Syslog server for debug reports.
debug
Command
destination
logging
Disables or re-enables Syslog logging on one or more Syslog servers
configured with the
logging
<
syslog-ip-addr
>
command.
destination
session
Assigns or re-assigns destination status to the terminal device that was
most recently used to request debug output.
debug
Command
all
Sends debug logging to configured debug destinations for all ACL, Event Log, IP-
OSPF, and IP-RIP options.
acl
Sends ACL Syslog logging to configured debug destinations. When there is a match
with a “deny” statement, directs the resulting message to the configured debug
destination(s).
event
Sends standard Event Log messages to configured debug destinations. (The same
messages are also sent to the switch’s Event Log, regardless of whether you enable
this option.)
ip
ospf
Sends OSPF event logging to the debug destination(s).
ip
rip
Sends RIP event logging to the debug destination(s).
lldp
Sends LLDP debug logging to the debug destination(s).
logging
Command
severity
Sends Event Log messages of equal or greater severity than the specified value to
configured debug destinations. (The default setting is to send Event Log messages
from all severity levels.)
system-module
Sends Event Log messages from the specified system module to configured debug
destinations. The severity filter is also applied to the system-module messages you
select.
The default setting is to send Event Log messages from all system modules. To
restore the default setting, enter the
no logging system-module
<
system-module
>
or
logging system-module all-pass
commands.
3500-5400-6200-8200-MCG-Jan08-K_13_01.book Page 42 Monday, January 28, 2008 10:04 AM