STP Cheat Sheet 2026
The 30 highest-yield STP facts, distilled from real exam questions. Print it, save it as a PDF, or study it here — free, no sign-up.
50 questions
60 min time limit
70% to pass
- What is the best practice for STP timer configuration? → Use default timers unless there is a specific justified reason to change them
- How does STP handle unidirectional link failures? → Through features like UDLD (Unidirectional Link Detection) and loop guard
- Which device role in STP is responsible for forwarding traffic to all other switches in the network segment? → Designated Port
- A switch port remains in blocking state even though it should be forwarding. Which tool helps identify whether Root Guard or Loop Guard is the cause? → show spanning-tree inconsistentports
- Which imaging technique uses magnetic fields? → MRI
- What is the default Hello Time interval in 802.1D STP? → 2 seconds
- What is the primary advantage of PVST+ over classic 802.1D STP? → It runs a separate spanning tree instance per VLAN, enabling per-VLAN load balancing
- Which MSTP concept describes the role of an MST region boundary port connecting to another region or a legacy STP bridge? → Boundary Port
- What does the 'spanning-tree loopguard default' command do? → Enables Loop Guard globally on all point-to-point ports
- Which IEEE standard introduced Rapid Spanning Tree Protocol (RSTP)? → IEEE 802.1w
- Which topology creates the highest risk of STP failure due to unidirectional link failures? → Fiber optic links without Loop Guard
- Which feature detects unidirectional fiber link failures at the physical layer, complementing Loop Guard at the STP layer? → UDLD (UniDirectional Link Detection)
- When configuring MSTP on Cisco switches, which command sets the MST region name? → spanning-tree mst configuration name
- Which feature automatically selects the optimal STP port priority and cost values based on the port speed in modern Cisco implementations? → STP Auto-cost based on interface bandwidth detection
- What is the STP behavior when two switches are connected by two parallel links and one switch is non-root? → One port becomes root port; the other is blocked
- How often does the root bridge send BPDUs? → Every 2 seconds by default (hello timer)
- A switch has two equal-cost paths to the root bridge through different upstream switches. How does STP break this tie? → By choosing the path through the switch with the lowest Bridge ID
- Which condition causes a non-root switch to generate a TCN BPDU? → A port transitions from Blocking to Forwarding or from Forwarding to Blocking
- In which STP port state does a switch port learn MAC addresses but NOT forward data frames? → Learning
- What is the purpose of Loop Guard in STP? → To protect against loops caused by unidirectional link failures on non-designated ports
- What STP feature prevents a port from transitioning to Forwarding if it stops receiving BPDUs from the designated switch? → Loop Guard
- Which command is used on a Cisco switch to manually set a switch as the root bridge using a specific priority? → spanning-tree vlan 1 priority 0
- Which STP design practice reduces convergence time in large Layer 2 networks by limiting the STP diameter? → Keeping the network diameter to 7 hops or fewer
- What is the Bridge Protocol Data Unit (BPDU) guard feature designed to do? → Shut down a PortFast port if it receives a BPDU
- What causes an STP topology change? → A port transitioning to or from the forwarding state
- What determines the Root Bridge in STP? → The switch with the lowest Bridge ID
- Which STP mechanism prevents a port from immediately transitioning to Forwarding after a link comes up? → Forward Delay timer
- In STP, what does a Topology Change Notification (TCN) BPDU cause receiving switches to do? → Age out MAC table entries faster
- Which STP port state actively forwards frames AND learns MAC addresses? → Forwarding
- Which STP port state is functionally equivalent to the Discarding state introduced in RSTP (802.1w)? → Blocking
Turn these facts into recall: