show cdp

To display information about the enabled Cisco Discovery Protocol interfaces, use the show cdp command in the EXEC mode.

show cdp {all | neighbors}

Syntax Description

show cdp

The command to display Cisco Discovery Protocol show commands.

all

Shows all the enabled Cisco Discovery Protocol interfaces.

neighbors

Shows the Cisco Discovery Protocol neighbors.

Defaults

No default behavior or values.

Command Modes

EXEC

Usage Guidelines

None.

Examples

Example 1

/admin# show cdp all

CDP protocol is enabled...

broadcasting interval is every 60 seconds.

time-to-live of cdp packets is 180 seconds.

 

CDP is enabled on port GigabitEthernet0.

/admin#

Example 2

/admin# show cdp neighbors

CDP Neighbor : pmbu-ibf-sw-ins

Local Interface : GigabitEthernet0

Device Type : E-24TDWS-C3750

Port : GigabitEthernet1/0/17

Address : 192.168.100.254

 

/admin#

Related Commands

Command

Description

cdp holdtime

Specifies the length of time that the receiving device should hold a Cisco Discovery Protocol packet from your router before discarding it.

cdp run

Enables the Cisco Discovery Protocol.

cdp timer

Specifies how often the Cisco CDA server sends Cisco Discovery Protocol updates.