To display information about a neighbor device listed in the CDP table, use the show cdp entry privileged EXEC command.
show cdp entry {* | entry-name [protocol | version]}
Syntax Description
* Shows all of the CDP neighbors. entry-name Name of neighbor about which you want information. You can enter an asterisk (*) at the end of an
entry-name, such as protocol (Optional) Limits the display to information about
the protocols enabled on a router. version (Optional) Limits the display to information about
the version of software running on the router.
show cdp entry dev*
, which would
show information about the neighbor, device.cisco.com.
Command Modes
Privileged EXEC
Command History
10.3 This command was introduced.
Release
Modification
Examples
The following is sample output from the show cdp entry command with no limits. Information about the neighbor device.cisco.com is displayed, including device ID, address and protocol, platform, interface, hold time, and version.
Router# show cdp entry device.cisco.com ------------------------- Device ID: device.cisco.com Entry address(es): IP address: 192.168.68.18 CLNS address: 490001.1111.1111.1111.00 DECnet address: 10.1 Platform: cisco 4500, Capabilities: Router Interface: Ethernet0/1, Port ID (outgoing port): Ethernet0 Holdtime : 125 sec Version : Cisco Internetwork Operating System Software IOS (tm) 4500 Software (C4500-J-M), Version 11.1(10.4), MAINTENANCE INTERIM SOFTWARE Copyright (c) 1986-1997 by cisco Systems, Inc. Compiled Mon 07-Apr-97 19:51 by dschwart
The following is sample output from the show cdp entry protocol command. Only information about the protocols enabled on device.cisco.com is displayed.
Router# show cdp entry device.cisco.com protocol Protocol information for device.cisco.com: IP address: 192.168.68.18 CLNS address: 490001.1111.1111.1111.00 DECnet address: 10.1
The following is sample output from the show cdp entry version command. Only information about the version of software running on device.cisco.com is displayed.
Router# show cdp entry device.cisco.com version Version information for device.cisco.com: Cisco Internetwork Operating System Software IOS (tm) 4500 Software (C4500-J-M), Version 11.1(10.4), MAINTENANCE INTERIM SOFTWARE Copyright (c) 1986-1997 by cisco Systems, Inc. Compiled Mon 07-Apr-97 19:51 by dschwart
Related Commands
show cdp "Displays global CDP information, including timer
and hold-time information." show cdp interface Displays information about the interfaces on which
CDP is enabled. show cdp neighbors Displays information about neighbors. show cdp traffic Displays traffic information from the CDP table.
Command
Description