Network Design and Operations
In a network where switches are connected with redundant paths, what role does the Spanning Tree Protocol (STP) play?
- AIt logically disables some ports so that the paths form a loop-free tree, preventing broadcast frames from circulating endlessly
- BIt spreads frames evenly over several links between switches to increase bandwidth
- CIt relays frames between different VLANs so that the VLANs can communicate with each other
Show answer and explanation
Answer: A. It logically disables some ports so that the paths form a loop-free tree, preventing broadcast frames from circulating endlessly
If switches are connected in a loop, broadcasts and frames to unknown destinations keep circulating and multiplying around the loop (a broadcast storm), and the network stops working. This happens because Ethernet frames have no mechanism like the IP TTL that counts hops and discards the frame. STP has the switches exchange messages called BPDUs and blocks some ports so that the active paths form a tree rooted at the root bridge. If a link in use fails, it moves a blocked port to the forwarding state to switch to another path.
- A. Correct. It keeps the redundant paths but logically breaks the loop.
- B. That is the role of link aggregation. STP prevents loops by leaving some redundant links unused.
- C. Traffic between VLANs needs routing by a router or L3 switch.