cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
517
Views
0
Helpful
2
Replies

Spanning Tree and Single LInks

David Cole
Level 1
Level 1

I'm confused about an aspect of STP. If a single port is plugged in from one switch to another, can that cause a loop/issues on a network? I've searched, but haven't been able to find a solid answer. Thanks in advance.

2 Replies 2

Dennis Mink
VIP Alumni
VIP Alumni

no,  SPT is designed to prevent loops from happening, so if you have multiple physical paths to the same destination such as dual links from your access switches to your core or distribution switches, then there is change that a loop occurs and thus SPT will kick in a shut down ports to prevent that loop. if you have a single link between 2 switches, like in your case, that link will always be forwarding from a SPT point of view.

Please remember to rate useful posts, by clicking on the stars below.

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

As Dennis already explained, if there are no L2 loops, you don't need STP.  STP is one way to design L2 networks with intentional "extra" L2 links that would create loops.  In insures there's only one active path.

Although loop free designs don't need STP, the general recommendation is to enable it to deal with any accidental loops.

BTW, Dennis mentions STP ". . . there is change that a loop occurs and thus SPT will kick in a shut down ports to prevent that loop."  That's correct, STP can try to block a loop that becomes active, but this can be hit or miss.  So, STP can also actually block ports becoming fully active until it determines activation of the port will not create a loop.  The latter, though, can delay hosts coming on-line, which can cause other issues.  I.e. as noted above, STP is recommended to be enabled "just-in-case", but choosing the "correct" flavor of STP, or using additional STP configuration options might be needed to optimize its behavior in your environment.