cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
553
Views
15
Helpful
4
Replies

STP question

pcantoni
Level 1
Level 1

Hi,

my question is in order to clarify the standard STP functionality.

Scenario:

three switches connected in a

ring and so forming a loop;

only one of the six ports linking the switches has STP enabled (other ports have STP disabled).

Question: is the switch able to detect the loop and so blocking the STP enabled port ?

If no ...in this scenario how many of the ports must be STP enabled ?

Thanks in advance.

Pierluigi

1 Accepted Solution

Accepted Solutions

I agree, it all comes down to what you mean by disabling STP. If the switches that have STP disabled are flooding BPDUs like user traffic (dumb switches that act like hubs do that, PVST+ switches with "no spanning-tree vlan X" configured attempt to do that also), then the unique bridge running STP should be able to see its own BPDUs coming back at itself around the ring and prevent the loop. Note that you could still have temporary loops when a failed link is recovered, and that convergence will be slow (based on timers).

Regards,

Francois

View solution in original post

4 Replies 4

Hi,

Only ports partecipating in spanning tree move between different states:blocking, listening, learning and forwarding.

You have to enable spanning tree on 6 uplink ports, in order to detect loop, and then have a topology loop-free.

For more information look at: http://www.cisco.com/en/US/tech/tk389/tk621/technologies_configuration_example09186a008009467c.shtml

and

http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_22_ea5/configuration/guide/swstp.html

I hope this helps.

Best regards.

Massimiliano.

bvsnarayana03
Level 5
Level 5

Yes STP is active & thats the reason why some ports are blocked. However, I'm not sure of the statement, only 1 port is active out of six ports. You may check this by "sh spanning-tree".

Kevin Dorrell
Level 10
Level 10

If you have disactivated STP on the ports by using bdpufilter, then you will have a loop. The BPDU will not make it round the loop, so the loop will not be detected.

Kevin Dorrell

Luxembourg

I agree, it all comes down to what you mean by disabling STP. If the switches that have STP disabled are flooding BPDUs like user traffic (dumb switches that act like hubs do that, PVST+ switches with "no spanning-tree vlan X" configured attempt to do that also), then the unique bridge running STP should be able to see its own BPDUs coming back at itself around the ring and prevent the loop. Note that you could still have temporary loops when a failed link is recovered, and that convergence will be slow (based on timers).

Regards,

Francois

Review Cisco Networking products for a $25 gift card