cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4908
Views
15
Helpful
5
Replies

CDP neighbor with spanning tree

j-griffin
Level 1
Level 1

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 5

lamav
Level 8
Level 8

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

dgroscost
Level 4
Level 4

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

a.giorgi
Level 1
Level 1

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

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

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

Thanks Peter

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card