cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
249
Views
1
Helpful
5
Replies

CDP Neighbor Detail

r.volante
Level 1
Level 1

Hi All,

 

Show cdp neighbor details show that it is communicating via Vlan 7(192.168.1.x). From my checking, this vlan is not in use and client is asking if we can strip off. But since the CDP neighbor is somehow getting this IP address, I am kind of hesitant what the effect of removing it would be.

 

connection is simple. Core Switch  ßà Access Switch. Snippets of Logs are attached below.

 

Core Switch CDP

rvolante_0-1719283516326.png

rvolante_1-1719283529190.png

Access switch CDP

rvolante_2-1719283549073.pngrvolante_3-1719283557505.png

 

What would be the effect of removing VLAN 7 for both the core and the access switch?

 

Regards

 

 

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

how is your network connected, that output not showing accurate information here.

where VLAN 7 showing in that output (am i missing anything?)

Do you have VTP Server running in the network ?

can you post below output : (attached text not screenshot)

show cdp neigh (from both)

show vtp status (both)

show spann brief (both)

show vlan 

show ip interface brief

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

CDP is L2 not L3 protocol'

It exchange between two SW if it direct connect even if both SW dont have IP.

MHM

https://community.cisco.com/t5/routers-small-business/how-does-cdp-choice-the-ip-of-it-s-neighbor/td-p/1574570

above link is useful to understand how CDP elect the mgmt IP (some old SW dont support hardcode the mgmt IP of CDP sorry)
MHM

if the SW dont have IP for VLAN1 then it will select the IP of VLAN that have the lowest VLAN ID

I run lab and test remove the IP of VLAN1 and see how SW elect the mgmt IP it elect IP for VLAN2 not VLAN10 (NOTE lowest VLAN ID not VLAN NAME)

Screenshot (600).pngScreenshot (601).pngScreenshot (602).pngScreenshot (603).png

Hello
CDP will Always choose vlan 1 or the lowest active vlan other than vlan 1 , So deleting a vlan will not necessary affect the active mgt vlan of the switch to gain remote access to it.

so if vlan 7 is not used for anything you can safely remove it.



Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card