DETAILED STEPS
PurposeCommand or Action
Displays information about a specific neighboring
device or all neighboring devices discovered using
CDP.
show cdp entry {* | entry-name} [protocol | version]
Example:
RP/0/RSP0/CPU0:router# show cdp entry *
Step 1
Displays information about the interfaces on which
CDP is enabled.
show cdp interface [type interface-path-id | location node-id]
Example:
RP/0/RSP0/CPU0:router# show cdp interface pos
0/0/0/1
Step 2
Displays detailed information about neighboring
devices discovered using CDP.
show cdp neighbors [type interface-path-id | location
node-id] [detail]
Example:
RP/0/RSP0/CPU0:router# show cdp neighbors
Step 3
Displays information about the traffic gathered between
devices using CDP.
show cdp traffic [location node-id]
Example:
RP/0/RSP0/CPU0:router# show cdp traffic
Step 4
Examples
The following is sample output for the show cdp neighbors command:
RP/0/RSP0/CPU0:router# show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
router1 Mg0/0/CPU0/0 177 T S WS-C2924M Fa0/12
router2 PO0/4/0/0 157 R 12008/GRP PO0/4/0/1
The following is sample output for the show cdp neighbors command. In this example, the optional type
instance arguments are used in conjunction with the detail optional keyword to display detailed information
about a CDP neighbor. The output includes information on both IPv4 and IPv6 addresses.
RP/0/RSP0/CPU0:router# show cdp neighbors POS 0/4/0/0 detail
-------------------------
Device ID: uut-user
SysName : uut-user
Entry address(es):
IPv4 address: 1.1.1.1
IPv6 address: 1::1
IPv6 address: 2::2
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
400
Implementing CDP
Monitoring CDP