B-105
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Appendix B Catalyst 3750-X and 3560-X Switch Debug Commands
debug udld
debug udld
Use the debug udld privileged EXEC command to enable debugging of the UniDirectional Link
Detection (UDLD) feature. Use the no form of this command to disable UDLD debugging.
debug udld {events | packets | registries}
no debug udld {events | packets | registries}
Syntax Description
Defaults Debugging is disabled.
Command Modes Privileged EXEC
Command History
Usage Guidelines The undebug udld command is the same as the no debug udld command.
When you enable debugging on a switch stack, it is enabled only on the stack master. To enable
debugging on a stack member, you can start a session from the stack master by using the session
switch-number privileged EXEC command. Then enter the debug command at the command-line
prompt of the stack member. You also can use the remote command stack-member-number LINE
privileged EXEC command on the stack master switch to enable debugging on a member switch without
first starting a session.
For debug udld events, these debugging messages appear:
• General UDLD program logic flow
• State machine state changes
• Program actions for the set and clear ErrDisable state
• Neighbor cache additions and deletions
• Processing of configuration commands
• Processing of link-up and link-down indications
events Display debug messages for UDLD process events as they occur.
packets Display debug messages for the UDLD process as it receives packets from the
packet queue and tries to send them at the request of the UDLD protocol code.
registries Display debug messages for the UDLD process as it processes registry calls from
the UDLD process-dependent module and other feature modules.
Release Modification
12.2(53)SE2 This command was introduced.