Purpose
Command or Action
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/RP0/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/RP0/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
Platform: cisco 12008/GRP, Capabilities: Router
Interface: POS0/4/0/3
Port ID (outgoing port): POS0/2/0/3
Holdtime : 177 sec
Version :
Cisco IOS XR Software, Version 0.0.0[Default]
Copyright (c) 2005 by cisco Systems, Inc.
advertisement version: 2
The following is sample output for the
show cdp entry
command. In this example, the optional
entry
argument is used to display entry information related to a specific CDP neighbor.
RP/0/RP0/CPU0:router#
show cdp entry router2
advertisement version: 2
-------------------------
Device ID: router2
SysName : router2
Entry address(es):
Platform: cisco 12008/GRP,
Capabilities: Router
Interface: POS0/4/0/0
Port ID (outgoing port): POS0/4/0/1
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
62
Implementing CDP
Monitoring CDP