?
Solved

Show CDP Neighbors in L3 Switch

Posted on 2014-10-23
5
Medium Priority
?
268 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 2000 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

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

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

This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
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

777 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