Solved

Show CDP Neighbors in L3 Switch

Posted on 2014-10-23
5
265 Views
Last Modified: 2014-10-23
I have the topology shown below.
When I run Show CDP neighbors on each Switch, I can see just one switch as neigh instead of 2 Switches. I am not sure why this is happening.
Any help will be very much appreciated

Thanks
Switch01#sh cdp neighbors 
Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
Switch02         Eth 0/1           178              R S   Linux Uni Eth 0/1
Switch02         Eth 0/0           144              R S   Linux Uni Eth 0/0
Switch01#

Switch02#show cdp neighbors 
 Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
Switch01         Eth 0/1           170              R S   Linux Uni Eth 0/1
Switch01         Eth 0/0           151              R S   Linux Uni Eth 0/0
Switch02#

Switch03#sh cdp neighbors 
 Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
Switch04         Eth 0/0           162              R S   Linux Uni Eth 0/0
Switch04         Eth 0/1           150              R S   Linux Uni Eth 0/1
Switch03#

Switch04#sh cdp neighbors 
 Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
Switch03         Eth 0/0           138              R S   Linux Uni Eth 0/0
Switch03         Eth 0/1           146              R S   Linux Uni Eth 0/1
Switch04#

Open in new window









cdp
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 3

Accepted Solution

by:
Johneil1 earned 500 total points
ID: 40400566
is CDP running globally or per interface?
0
 

Author Comment

by:jskfan
ID: 40400572
mmm....
I have not enabled it manually at all...but I believe it is enabled by default:
Switch01#sh cdp
Global CDP information:
        Sending CDP packets every 60 seconds
        Sending a holdtime value of 180 seconds
        Sending CDPv2 advertisements is  enabled
0
 

Author Comment

by:jskfan
ID: 40400598
Mistake in the topology.....now it is working, though it showing something weird:
SW1#sh cdp neighbors 
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, 
                  D - Remote, C - CVTA, M - Two-port Mac Relay 

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW4              Eth 0/3           159              R S   Linux Uni Eth 0/3
SW4              Eth 0/2           139              R S   Linux Uni Eth 0/2
Switch           Eth 0/3           49               R S   Linux Uni Eth 0/3
Switch           Eth 0/2           41               R S   Linux Uni Eth 0/2
Switch           Eth 0/1           33               R S   Linux Uni Eth 0/1
Switch           Eth 0/0           30               R S   Linux Uni Eth 0/0
SW2              Eth 0/0           138              R S   Linux Uni Eth 0/0
SW2              Eth 0/1           137              R S   Linux Uni Eth 0/1
SW1#

Open in new window


I wonder why this output is there:
Switch           Eth 0/3           49               R S   Linux Uni Eth 0/3
Switch           Eth 0/2           41               R S   Linux Uni Eth 0/2
Switch           Eth 0/1           33               R S   Linux Uni Eth 0/1
Switch           Eth 0/0           30               R S   Linux Uni Eth 0/0
0
 

Author Comment

by:jskfan
ID: 40400628
the weird stuff went away by itself now...
0
 

Author Closing Comment

by:jskfan
ID: 40400629
Thank you for jumping in to help !
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IPv6 question 1 74
What is the best use case for EVPN added to an existing spine/leaf architecture? 3 43
DHCP for a new, 2nd subnet 12 61
Linksys EA8500 3 15
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question