Solved

Show CDP Neighbors in L3 Switch

Posted on 2014-10-23
5
250 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
  • 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now