Purpose
Command or Action
commit
Step 5
(Optional)
Displays global CDP information.
show cdp
Example:
RP/0/RP0/CPU0:router# show cdp
Step 6
The output displays the CDP version running on the router, the hold time setting,
and the timer setting.
Monitoring CDP
This task shows how to monitor CDP.
The commands can be entered in any order.
Note
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
Purpose
Command 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
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
61
Implementing CDP
Monitoring CDP