jskfan
asked on
Show CDP Neighbors in L3 Switch
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
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#
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Mistake in the topology.....now it is working, though it showing something weird:
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
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#
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
ASKER
the weird stuff went away by itself now...
ASKER
Thank you for jumping in to help !
ASKER
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