Implementing CDP
Command or Action
Step 5
commit
Step 6
show cdp
Example:
RP/0/RP0/CPU0:router# show cdp
Monitoring CDP
This task shows how to monitor CDP.
Note
The commands can be entered in any order.
SUMMARY STEPS
1. show cdp entry {* | entry-name} [protocol | version]
2. show cdp interface [type interface-path-id | location node-id]
3. show cdp neighbors [type interface-path-id | location node-id] [detail]
4. show cdp traffic [location node-id]
DETAILED STEPS
Command or Action
Step 1
show cdp entry {* | entry-name} [protocol | version]
Example:
RP/0/RSP0/CPU0:router# show cdp entry *
Step 2
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 3
show cdp neighbors [type interface-path-id | location
node-id] [detail]
Example:
RP/0/RSP0/CPU0:router# show cdp neighbors
Purpose
(Optional)
Displays global CDP information.
The output displays the CDP version running on the router, the hold time setting,
and the timer setting.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
Purpose
Displays information about a specific neighboring
device or all neighboring devices discovered using
CDP.
Displays information about the interfaces on which
CDP is enabled.
Displays detailed information about neighboring
devices discovered using CDP.
Monitoring CDP
61