Questions: Spanning Tree Protocol and Loop Prevention
5 questions to test your understanding
Score: 0 / 5
Question 1 Multiple Choice
A network admin wants Switch A to always be elected as the root bridge. Switch A currently has the default bridge priority. What is the correct action?
AGive Switch A the highest MAC address, since the root bridge is elected by the highest bridge ID
BLower Switch A's bridge priority value below that of all other switches, since the root bridge is the switch with the lowest bridge ID
CAssign Switch A more ports, since the switch with the most connections becomes root
DConfigure Switch A to send BPDUs more frequently, since the most active switch wins election
The root bridge is elected as the switch with the lowest bridge ID, which is a combination of a configurable priority value and the switch's MAC address. By lowering Switch A's priority (e.g., to 4096 from the default 32768), its bridge ID becomes lower than all others, guaranteeing root election. Option A is backwards — the switch with the *lowest* bridge ID wins, and a low MAC address would help, but administrators control the priority field precisely to override MAC-based randomness. Options C and D describe non-existent criteria.
Question 2 Multiple Choice
During normal STP operation, a port is in the 'blocking' state. What is that port actually doing?
AThe port is completely powered down and does not process any frames
BThe port forwards traffic but at reduced speed to avoid overloading the network
CThe port does not forward traffic but continues to receive and process BPDUs, staying ready to transition if the topology changes
DThe port discards all incoming frames including BPDUs, acting as a complete barrier
A blocked port is not 'off' — it is actively listening for BPDUs. This is critical to STP's recovery function: if an active link fails and the blocked port detects the change (through missing BPDUs or a topology change notification), it can transition to forwarding and restore connectivity. If blocked ports discarded BPDUs, STP could not detect topology changes and would lose its fault-tolerance capability. The port suppresses data traffic to prevent loops, but must remain aware of the spanning tree's state at all times.
Question 3 True / False
STP prevents broadcast storms by removing redundant cables from the physical network, so that no loops exist in the wiring.
TTrue
FFalse
Answer: False
STP prevents loops by logically blocking ports — the redundant physical cables remain in place and fully connected. Blocked ports suppress data forwarding while retaining the physical link, keeping the redundant paths as standing backups. If STP removed the cables, you would gain loop prevention but lose all redundancy. The whole value of STP is that you get both: loop-free operation during normal conditions AND automatic failover when an active link goes down (the blocked port detects the failure and transitions to forwarding). Physical removal of cables would require manual intervention to restore.
Question 4 True / False
Rapid Spanning Tree Protocol (RSTP) converges faster than classic STP primarily because it uses higher-speed hardware to process BPDUs faster.
TTrue
FFalse
Answer: False
RSTP's speed improvement is architectural, not hardware-based. Classic STP forces all ports to transition through listening and learning states on fixed 15-second timers before forwarding — a design inherited from when networks had no way to quickly verify topology. RSTP replaces these timers with a proposal-agreement handshake: when a port comes up, switches negotiate directly with their neighbor to confirm there is no loop before forwarding. This port-by-port negotiation converges in under a second regardless of hardware speed, because the delay was always a timer, not processing time.
Question 5 Short Answer
Explain why blocking redundant ports rather than disabling redundant cables is essential to STP's purpose.
Think about your answer, then reveal below.
Model answer: STP's goal is to provide both loop-free forwarding AND fault tolerance. Physically removing redundant cables would eliminate loops but also eliminate the backup paths that enable recovery from link failures. By blocking ports logically (suppressing data forwarding while keeping the physical link active and listening for BPDUs), STP preserves the redundant links as standby backups. When an active link fails, the previously blocked port detects the topology change and transitions to forwarding, restoring connectivity without any manual intervention. The blocked state is a standby state, not an off state.
The distinction matters because a network built for reliability needs redundant physical infrastructure — but that same redundancy creates loops at Layer 2. STP resolves this tension by operating at the logical forwarding layer rather than the physical layer, leaving redundant cables in place while preventing the broadcast storms that loops would cause. The blocked port is essentially a closed valve on a pressurized backup line: inactive during normal operation, immediately available when needed.