Send documentation comments to mdsfeedback-doc@cisco.com
6-11
Cisco MDS 9000 Family Command Reference
OL-16217-01, Cisco MDS SAN-OS Release 3.x
Chapter 6 Debug Commands
debug cdp
debug cdp
To enable debugging for the Cisco Discovery Protocol (CDP) function, use the debug cdp command in
EXEC mode. To disable a debug command use the no form of the command or use the no debug all
command to turn off all debugging.
debug cdp {all | errors | events {mts | packets | pss}}
[interface {gigabitethernet slot/port | mgmt 0}]
no debug cdp {all | errors | events {mts | packets | pss}}
[interface {gigabitethernet slot/port | mgmt 0}]
Syntax Description
Defaults Disabled.
Command Modes EXEC mode.
Command History
Usage Guidelines None.
Examples The following example displays the system output when the debug cdp events packets command is
issued:
switch# debug cdp events packets
Apr 8 21:22:34 cdp: Sent CDP packet, interface 0x2380000
Apr 8 21:22:34 cdp: Sent CDP packet, interface 0x2381000
Apr 8 21:22:35 cdp: Sent CDP packet, interface 0x2382000
Apr 8 21:22:35 cdp: Sent CDP packet, interface 0x2383000
Apr 8 21:22:51 cdp: Received CDP packet, interface 0x5000000
Apr 8 21:23:01 cdp: Sent CDP packet, interface 0x5000000
Apr 8 21:23:34 cdp: Sent CDP packet, interface 0x2380000
Apr 8 21:23:34 cdp: Sent CDP packet, interface 0x2381000
all Enables debugging for all CDP features.
errors Enables debugging for CDP error conditions.
events Enables debugging for CDP events.
mts Enables debugging for CDP tx/rx MTS packets.
packets Enables debugging for CDP tx/rx CDP packets.
pss Enables debugging for all PSS related CDP events.
interface Specifies debugging for the specified interface.
gigbitethernet slot/port Specifies the Gigabit Ethernet interface slot and port.
mgmt 0 Specifies the management interface.
Release Modification
1.1(1) This command was introduced.