Troubleshooting

Debug/Syslog Operation

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

 

 

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> acl

When a match occurs on an ACL “deny” Access Control Entry (with log configured), the switch sends an ACL message to configured debug destinations. For information on ACLs, refer to the “Access Control Lists (ACLs)” chapter in the latest version of the following guides:

IPv4 ACLs: Access Security Guide

IPv6 ACLs: IPv6 Configuration Guide

Note: Beginning with software release K.14.01, ACE matches (hits) for permit and deny entries can be tracked using the show statistics < aclv4 aclv6 > command. (Default: Disabled - ACL messages for traffic that matches “deny” entries are not sent.)

all

Configures the switch to send all debug message types to configured debug destination(s). (Default: Disabled - No debug messages are sent.)

event

Configures the switch to send Event Log messages to config­ ured debug destinations.

Note: This value does not affect the reception of event notification messages in the Event Log on the switch.

C-50