
Troubleshooting
Debug and Syslog Messaging Operation
Debug and Syslog Messaging Operation
The switch’s Event Log records switch-level progress, status, and warning
messages. The Debug/System-Logging (Syslog) feature provides a method for
recording messages you can use to help in debugging network-level problems,
such as routing misconfigurations and other network protocol details.
Debug enables you to specify the types of event notification messages to send
to external devices. Debug messaging reports on these event types:
■ ACL “deny” matches
■ Selected IP routing events
■ Events that generate messages for the switch’s Event Log
You can configure the switch to send debug messages to these destinations:
■ Up to six Syslog servers
■ A CLI session through direct RS-232 console, Telnet, or SSH
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 file.
Optional Debug
Commands
all Assigns debug logging to the configured debug destination(s) for all ACL, Event Log, and
IP-OSPF options.
acl Assigns ACL Syslog logging to the debug destination(s). When there is a match with a
“deny” ACE, directs the resulting message to the configured debug destination(s).
event Assigns standard Event Log messages to the debug destination(s). (The same messages
are also sent to the switch’s Event Log, regardless of whether you enable this option.)
IP ospf Assigns OSPF event logging to the debug destination(s).
rip Assigns RIP event logging to the debug destination(s).
Debug
Destinations
Destination logging Used to disable or re-enable Syslog logging if one or more Syslog
servers are already configured by the separate logging < ip-addr >
command. Optionally, also specifies the destination (facility)
subsystem the Syslog servers must use.
session Assigns or re-assigns destination status to the terminal device most
recently using this command to request debug output.
Figure C-13. Event Messaging Structure
C-34
Comentários a estes Manuais