Chapter 22
| CDP Commands
– 522 –
Example
Console#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Interface Version Device ID Hold Remain Capability Platform Port ID
Time Time
(sec) (sec)
--------- ------- --------- ----- ------ ---------- -------- ------------------
Eth 1/1 2 lab-7206 160 40 R 7206VXR FastEthernet1/0/1
Eth 1/2 1 lab-as530 150 112 T AS5300 FastEthernet1/0/15
Console#
This example shows detailed information about CDP neighbors.
Console#show cdp neighbors detail
Interface : Eth 1/1
Version : 2
Device ID : lab-7206
IP Address : 172.19.169.183
Platform : 7206VXR
Capabilities : Router
Port ID : Fas 0/0/0
SW Version : Version 12.1(2)
Hold Time : 160 seconds
Remain Time : 40 seconds
.
.
.
Table 111: show cdp neighbors - display description
Field Description
Capability Codes The capabilities that define the primary function(s) of the system.
Interface The local port to which a remote CDP-capable device is attached.
Version The software version running on the neighbor.
Device ID The name of the neighbor device, its MAC address or the serial number.
Hold Time The amount of time to hold CDP messages as advertised in CDP updates
received from the neighbor.
Remain Time The amount of time this switch will continue to hold a CDP advertisement
before discarding it.
Capability The device type of the neighbor.
Platform The product number of the device.
Port ID The interface type and port number of the neighbor.