Show CDP Neighbors Detail Command on CISCO Router/Switch

Command

Show CDP Neighbors Detail

Use

This command shows detailed information about the Cisco devices that are directly connected to your current device, including IP addresses. CDP is a Cisco proprietary protocol and will only detect Cisco products, although there are some vendors that do work with it. Additionally, LLDP was recently released, which is an industry standard of the Cisco Discovery Protocol and is supported on newer IOS.

Syntax

Router#show cdp neighbors detail

Example

In the below example we use show cdp neighbors detail to see which devices are directly connected to R2.

R2#show cdp neighbors detail
————————-
Device ID: R3
Entry address(es):
IP address: 10.2.2.3
Platform: Cisco 3640, Capabilities: Router Switch IGMP
Interface: FastEthernet1/0, Port ID (outgoing port): FastEthernet0/0
Holdtime : 125 sec

Version :
Cisco IOS Software, 3600 Software (C3640-JK9S-M), Version 12.4(16), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 20-Jun-07 11:43 by prod_rel_team

advertisement version: 2
VTP Management Domain: ‘
Duplex: full

————————-
Device ID: R1
Entry address(es):
IP address: 10.1.1.1
Platform: Cisco 3640, Capabilities: Router Switch IGMP
Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet0/0
Holdtime : 158 sec

Version :
Cisco IOS Software, 3600 Software (C3640-JK9S-M), Version 12.4(16), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 20-Jun-07 11:43 by prod_rel_team

advertisement version: 2
VTP Management Domain: ‘
Duplex: full

Related Articles

Leave a Reply

avatar