CDP neighbor with spanning tree

Unanswered Question
Jun 12th, 2008

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)?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
lamav Thu, 06/12/2008 - 05:32

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 Thu, 06/12/2008 - 05:32

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

a.giorgi Mon, 10/22/2012 - 13:16

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

Peter Paluch Mon, 10/22/2012 - 13:54

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

a.giorgi Mon, 10/22/2012 - 14:04

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

Thanks Peter

Actions

This Discussion