Solved

Show CDP Neighbors in L3 Switch

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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
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…
Suggested Courses

705 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