This Friday there was a discussion with our Tier 3 Network Engineer after someone found 2 spanning tree roots and escalated the issue to him to ensure it was fixed correctly.
What caused this?Some other real world issues I’ve seen is where an end user plugged in their own 5 port switch, which happened to have a priority of 4096. It became the root for the whole network. Everything had to route through the trunk, to their switch, then back through multiple trunks to get back to the router. Just for one way, then they have to go back through that long route for the return traffic. Along with the fact that a 5 port switch can’t handle the traffic of a site with ten 48 port switches.
Another example similar to the one above is where a Arris
device (Probably an ISP modem) became our STP Root. We could
have prevented this if we used bpdu filtering on the
access ports Internet Provider Uplink ports. Which
would prevent them from becoming part of our spanning tree,
but would still allow network traffic through. Also it can
help the security of your network since it will prevent STP
information from going out of those ports aswell.
Spanning Tree Root Guard is a better option for ports that are for end user’s equipment that you don’t intend on having any control over. This way if their device tries to take over your spanning tree root it will block it. They can alter their priority and then be let back on while keeping spanning tree on to detect & block loops. However if they can’t change it, or refuse to. There is still an option to use BPDU Filtering to stop them from connecting to your spanning tree, however that removes the ability for STP to detect and block loops.