cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1065
Views
0
Helpful
4
Replies

cdp

NIRAJJHA
Level 1
Level 1

I am getting cisco switches while entering cdp neighbour command but i am not directly connected to those switches rather a HP switch is in betweenmy cisco switch and another  cisco switch how to solve this issue?

4 Replies 4

Martin L
VIP
VIP

 

You could run LLDP on HP switch and get some info if Cisco is set to run LLDP. otherwise, you will need access to Cisco device to see CDP.

There are some 3rd party software to manage, discover, and map network devices

 

Regards, ML
**Please Rate All Helpful Responses **

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hi @NIRAJJHA 

Use LLDP for discovery and enable igmp snooping on HP switch (to stop the CDP packets to be flooded).

 

Cheers,

Sergiu

Hello


@NIRAJJHA wrote:

I am getting cisco switches while entering cdp neighbour command but i am not directly connected to those switches rather a HP switch is in betweenmy cisco switch and another  cisco switch how to solve this issue?


Do you mean you can see each cisco switch in their cdp database even though they are both directly connected between a HP switch?


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

I am somewhat puzzled about the original post. It indicates that there are cisco switches with a non cisco switch between them and that the cisco switches see each other in the output of show cdp neighbor. This is the expected behavior. cdp uses a mac address that other cisco devices will recognize and process. But non cisco devices do not recognize the mac address and just forward the frame.

 

So if you have 3 switches connected: sw1 to sw2 to sw3 and all are cisco switches then sw1 sends cdp frame and sw2 recognizes and processes it and does not forward to sw3. But if sw2 is not a cisco switch then sw1 sends cdp frame to sw2 which does layer 2 forwarding and the frame goes to sw3. So now sw1 and sw3 see each other as neighbors.

 

The original post seems to see this as an issue that needs to be solved. I do not understand what the issue is and would appreciate some clarification.

HTH

Rick