background image
Using Cisco Discovery Protocol
371
Another command that provides neighbor information is the show cdp
neighbor
detail command (show cdp nei de for short), which also can be
run on the router or switch. This command shows detailed information
about each device connected to the device, as in the router output below.
Todd2509#sh cdp neighbor detail
-------------------------
Device ID: 1900Switch
Entry address(es):
IP address: 0.0.0.0
Platform: cisco 1900, Capabilities: Trans-Bridge Switch
Interface: Ethernet0, Port ID (outgoing port): 2
Holdtime : 166 sec
Version :
V9.00
-------------------------
Device ID: 2501B
Entry address(es):
IP address: 172.16.10.2
Platform: cisco 2500, Capabilities: Router
Holdtime
The amount of time the router will hold the infor-
mation before discarding it if no more CDP
packets are received.
Capability
The neighbor's capability, such as router, switch,
or repeater. The capability codes are listed at the
top of the command output.
Platform
The type of Cisco device. In the above output, a
Cisco 2509, Cisco 2511, and Catalyst 5000 are
attached to the switch. The 2509 only sees the
switch and the 2501 router connected through its
serial 0 interface.
Port ID
The neighbor device's port or interface on which
the CDP packets are broadcast.
T A B L E 7 . 5
Output of the Show CDP Neighbor Command (continued)
Field
Description
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com