Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

CDP neighbor with spanning tree

If I have Spanning Tree enabled and redundant links between switches will sho cdp nei det show all the connected links (even those that are not passing traffic because spanning tree has disabled them)?

5 REPLIES
Blue

Re: CDP neighbor with spanning tree

Yes. Administrative and control plane traffic are still allowed over a "blocked" STP port. This is how trunks and etherchannels maintain their operational readiness when they are configured for dynamic negotiation. Otherwise, the failover time will be considerably longer during an outage.

HTH

Victor

New Member

Re: CDP neighbor with spanning tree

Yes, you will see CDP information from both interfaces assuming CDP is enabled globally (or at least on all interfaces involved.)

New Member

CDP neighbor with spanning tree

My question is how is this posible?

A blocked port can't send any other packets that BPDUs

CDP packets are an exception to this rule?

Thanks

Cisco Employee

CDP neighbor with spanning tree

Hello,

A blocked port can't send any other packets that BPDUs

CDP packets are an exception to this rule?

In fact, a blocked port is allowed to send and receive any frames that will be processed by the switch without forwarding the further. Because such frames are never forwarded through a switch, they can not be caught in a switching loop. Think of protocols like CDP, LLDP, VTP, PAgP, LACP, UDLD, even STP. All these protocols can be both sent and received on a blocking port. It is in fact important that sending/receiving, for example, LACP frames is not prohibited on blocking port - otherwise, EtherChannels would cease working in this case.

Best regards,

Peter

New Member

CDP neighbor with spanning tree

You're right, this kind of traffic doesn't pass across the switch, then they can't make a loop

Thanks Peter

2004
Views
10
Helpful
5
Replies
CreatePlease to create content