This is a sketchout of how spanning tree prevents loops.
- Update/correction: In the video, when I refer to links in red as "shutdown", that is not technically correct. The links are still up, but in a blocking state as far as spanning tree is concerned. This means that those ports will still show as "connected" according to show commands even though they won't be forwarding or receiving normal traffic.
آی-ویدئو