09-20-2017 08:04 AM - edited 06-23-2020 12:56 AM
09-20-2017 08:32 AM
Hi,
I believe you are using the wrong interface -
You should be using the local interface address of the switch you are connected to. In your case - examples
sh cdp neigh Gig 2/1/2 det
sh cdp neigh Gig 1/0/1 det
09-20-2017 08:56 AM
i must be wrong then, i will try again
but what if i sh cdp neig <local interface> detail , but also not showing anything
does it mean the neighbor not turn on cdp neighbor?
09-20-2017 09:03 AM
CDP is working as that is why you can see the attached neighbours.
Here is some output from my own switch as an example -
UK-CORE-01#sh cdp neighbors
UK-SW-1F-01.net.xxxx.corp
Ten 2/5/5 133 S I WS-C3650- Ten 2/1/4
UK-SW-1F-01.net.xxxx.corp
Ten 1/5/5 130 S I WS-C3650- Ten 3/1/4
UK-CORE-01#sh cdp neighbors Ten 2/5/5 de
-------------------------
Device ID: UK-SW-1F-01.net.xxxx.corp
Entry address(es):
IP address: 10.44.0.49
Platform: cisco WS-C3650-48PD, Capabilities: Switch IGMP
Interface: TenGigabitEthernet2/5/5, Port ID (outgoing port): TenGigabitEthernet2/1/4
Holdtime : 173 sec
Version :
Cisco IOS Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 15.2(2)E4, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Sat 13-Feb-16 03:45 by prod_rel_team
advertisement version: 2
VTP Management Domain: 'XXX'
Native VLAN: 998
Duplex: full
Management address(es):
IP address: 10.44.0.49
You can also use the following command from your output -
show cdp entry slmyklm22-02
show cdp entry SWMY001ITSB
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide