Command:

show cdp entry

Mode:

Router#


Syntax:

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 show cdp entry dev*, which would show information about the neighbor, device.cisco.com.

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.

 


Command Description:

To display information about a neighbor device listed in the CDP table, use the show cdp entry privileged EXEC command.


Example:

The following is a sample of 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 a sample of 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 a sample of 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

 


Misconceptions:
None

Related Commands:
cdp run
show cdp

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)