Solved

Show CDP Neighbors in L3 Switch

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Local DNS and Home Routers 4 58
VLAN Question! 9 68
Receiving wifi on an underground station 22 125
HP 1920 Switch -- IFNET LINK_UPDOWN Errors 3 81
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
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…

756 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