Command:

debug cdp


Mode:

Router#


Syntax:

debug cdp {packets | adjacency | events}

no debug cdp {packets | adjacency | events}

Syntax Description:

packets Enables packet-related debugging output.
adjacency Enables adjacency-related debugging output.
events

Enables output related to error messages, such as detecting a bad checksum.

Command Description:

 

To enable debugging of the Cisco Discovery Protocol (CDP), use the debug cdp privileged EXEC

command. The no form of this command disables debugging output.

 

Use debug cdp commands to display information about CDP packet activity, activity between CDP

neighbors, and various CDP events.

 


Example:

The following is sample output from debug cdp packets, debug cdp adjacency, and debug cdp events

commands:

Router# debug cdp packets

CDP packet info debugging is on

Router# debug cdp adjacency

CDP neighbor info debugging is on

Router# debug cdp events

CDP events debugging is on

CDP-PA: Packet sent out on Ethernet0

CDP-PA: Packet received from gray.cisco.com on interface Ethernet0

CDP-AD: Deleted table entry for violet.cisco.com, interface Ethernet0

CDP-AD: Interface Ethernet2 coming up

CDP-EV: Encapsulation on interface Serial2 failed


Misconceptions:

           None.


Related Commands:

            None. 


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)