Spanning Tree, Switching Loops & Broadcast Storms Practice Test
Practice 75 spanning-tree questions: root elections, path costs, RSTP roles, BPDU guards, MAC flaps, broadcast storms, hidden bridges, and verified recovery.
A blocked path can be the protection that keeps the network working
Learn to distinguish a healthy alternate path, an unexpected root, a guard event, a high-rate endpoint, and a real Layer 2 forwarding cycle. These 75 original scenarios ask you to read the correct instance, compare path costs, interpret control evidence, and verify both service recovery and required redundancy.
Easy questions isolate one mechanism. Medium questions combine topology and observations. Hard questions introduce hidden bridges, asymmetric control visibility, capture duplication, partial repairs, and conflicting outputs. These are independent instructional questions, not official Cisco or College Board exam items. Cisco-specific feature behavior is identified in the questions; verify your platform before applying a configuration.
Start the interactive test · Read the troubleshooting guide · Choose another topic
Take the spanning-tree and switching-loop practice test
Choose one answer to receive immediate feedback. Your first selection is scored; read the explanation before moving on. Use keyboard Tab to reach controls and arrow keys within the answer group. You can use these as untimed diagnostic practice, pausing to write your reasoning.
Changing difficulty or restarting clears the current attempt. Download your log first if you want to keep it.
Read all 75 prompts and choices
Open a prompt to inspect its choices. Its reference answer and explanation stay hidden until you select an answer for that item in the interactive test. Reference IDs stay fixed for classroom discussion and correction reports. Restarting or switching difficulty clears the current attempt and hides the revealed reference answers. Download your log first if you want to keep it.
Easy question library · 25 questions
Easy 1. What does spanning tree primarily prevent in a bridged Ethernet topology?
- A cycle of active Layer 2 forwarding paths
- Duplicate IP addresses assigned by DHCP
- A routing table containing two default routes
- A server sending too many legitimate broadcasts
Correct answer: A. A cycle of active Layer 2 forwarding paths
Spanning tree selects a loop-free forwarding topology within its instance. It does not assign IP addresses or guarantee that a host will generate a reasonable traffic rate.
Easy 2. In one spanning-tree instance, A has bridge priority 8192 and B has 16384. All other relevant priority components are equal. Which wins the root election?
- B, because the highest priority number wins
- Whichever has the lowest management IP address
- A, with the lower priority component
- Whichever has the largest number of access ports
Correct answer: C. A, with the lower priority component
The lowest bridge ID wins. The priority component is compared before the MAC-address portion, so B cannot overcome its larger priority value with a lower MAC here.
Easy 3. Two switches have equal priority components in the same STP instance. Their bridge MAC addresses end in 0010 and 0020, with identical preceding digits. Which is preferred as root?
- The switch with the larger IP subnet
- The switch that last renewed its DHCP lease
- The switch whose bridge MAC ends in 0020
- The switch whose bridge MAC ends in 0010
Correct answer: D. The switch whose bridge MAC ends in 0010
With the priority components tied, the lower bridge MAC breaks the tie. Management addressing is not part of the bridge-ID comparison.
Easy 4. For a non-root switch in a converged spanning-tree instance, what does its root port provide?
- An access port reserved for the network administrator
- Its selected best path toward the root bridge
- The port with the lowest printed interface number in all cases
- The only port allowed to learn any source MAC
Correct answer: B. Its selected best path toward the root bridge
Root-port selection follows the best received spanning-tree information and path cost. A small local interface number is not the first selection rule.
Easy 5. How many root ports does the root bridge itself have in that spanning-tree instance?
- Zero
- One for every directly attached switch
- Exactly two for redundancy
- One for each VLAN-tagged frame
Correct answer: A. Zero
The root has no upstream path toward itself and therefore no root port. Distinguish the bridge being root from a non-root bridge having a root port.
Easy 6. An RSTP alternate port is discarding and an end-to-end transfer works over the selected path. What is the most likely interpretation?
- The alternate port must have a broken physical cable
- The network has lost all protection against loops
- The switch has rejected every BPDU it received
- A healthy redundant path is discarding
Correct answer: D. A healthy redundant path is discarding
An alternate role can be a healthy result of removing a forwarding cycle. A discarding data path is not automatically an interface fault.
Easy 7. What information do spanning-tree BPDUs help switches exchange?
- Topology information for forwarding-role selection
- Application file sizes used for TCP segmentation
- DHCP lease durations for client addresses
- The server certificate used for HTTPS validation
Correct answer: A. Topology information for forwarding-role selection
BPDUs are spanning-tree control messages. They are not application payload, DHCP assignments, or TLS credentials.
Easy 8. Which states are used by RSTP?
- Blocking, listening, learning, forwarding, and disabled as five distinct RSTP states
- Discover, offer, request, and acknowledge
- Established, closing, and time-wait
- Discarding, learning, and forwarding
Correct answer: D. Discarding, learning, and forwarding
RSTP groups the non-forwarding functions into discarding and retains learning and forwarding. Do not mix the classic STP five-state vocabulary with the three RSTP states.
Easy 9. In the STP learning state, which behavior is expected?
- Forward user traffic without learning source addresses
- Learn source MACs without forwarding user frames
- Route packets using the destination IP prefix
- Ignore BPDUs until the first user frame arrives
Correct answer: B. Learn source MACs without forwarding user frames
Learning prepares the forwarding database before ordinary data forwarding begins. Control-plane processing and user-frame forwarding are separate behaviors.
Easy 10. Why does an IP TTL not normally stop a frame circulating through an Ethernet switching loop?
- Each switch resets the IP TTL to 255
- Layer 2 forwarding leaves the enclosed IP TTL unchanged
- Ethernet broadcast frames always carry TCP rather than IP
- Every switch discards the IP header before forwarding
Correct answer: B. Layer 2 forwarding leaves the enclosed IP TTL unchanged
TTL is a Layer 3 forwarding mechanism. A switch forwarding within a VLAN does not act as an IP router merely because the frame contains an IP packet.
Easy 11. A switch learns an unknown source MAC from a received frame. Which field and location establish the new table entry?
- Its source MAC, ingress port, and VLAN
- The root bridge’s MAC and the highest-speed uplink
- The destination IP address and DNS resolver port
- The frame’s destination MAC and every egress port
Correct answer: A. Its source MAC, ingress port, and VLAN
Source learning records where a sender was heard in that VLAN. Repeated arrival along competing paths can therefore create MAC-move evidence.
Easy 12. What normally happens to an unknown-unicast frame in a VLAN?
- It is discarded until a DNS query identifies the destination
- It is sent only to the default gateway regardless of destination
- Flood it within the VLAN, excluding ingress
- It is changed into an Ethernet broadcast frame
Correct answer: C. Flood it within the VLAN, excluding ingress
The destination remains a unicast MAC even when the forwarding action is flooding. Unknown unicast and broadcast are different frame categories.
Easy 13. Which statement about a broadcast spike is defensible?
- It proves the root bridge has the wrong IP address
- It can be repaired only by disabling spanning tree
- It is a symptom that needs a cause investigation
- It proves an active switching loop by itself
Correct answer: C. It is a symptom that needs a cause investigation
An endpoint can generate heavy broadcasts without a forwarding cycle. Correlate rate, source, MAC moves, forwarding roles, and topology before diagnosing a loop.
Easy 14. What is Cisco PortFast intended to improve on a genuine endpoint-facing edge port?
- The maximum TCP payload for all clients
- The endpoint port’s transition to forwarding
- The bandwidth of every uplink in the VLAN
- The root bridge’s priority during election
Correct answer: B. The endpoint port’s transition to forwarding
PortFast removes normal startup waiting for an appropriate edge attachment. It does not turn off the need for loop-safe topology or increase physical capacity.
Easy 15. A Cisco interface with BPDU Guard explicitly enabled receives a BPDU. What action is expected?
- The interface becomes error-disabled
- The switch raises the sender’s bridge priority
- The interface automatically becomes the new root bridge
- The received BPDU is silently treated as an ARP reply
Correct answer: A. The interface becomes error-disabled
BPDU Guard treats the unexpected BPDU as a violation of the attachment policy. Repair that condition before restoring the port.
Easy 16. On a Cisco designated boundary port, Root Guard receives a superior BPDU. What condition can result?
- Automatic election of the attached switch as root
- A new TCP zero-window advertisement
- A change to the management IP subnet mask
- Root-inconsistent blocking
Correct answer: D. Root-inconsistent blocking
Root Guard prevents that boundary from becoming the preferred path to an external root. Its inconsistent state differs from BPDU Guard’s error-disabled behavior.
Easy 17. What failure is Loop Guard designed to help prevent on an eligible non-designated port?
- Unsafe forwarding after expected BPDUs disappear
- A DHCP server offering an address from the wrong subnet
- An endpoint receiving two valid DNS responses
- A router selecting a longer IP prefix than expected
Correct answer: A. Unsafe forwarding after expected BPDUs disappear
An absence of expected BPDUs can be unsafe evidence rather than proof that no bridge exists. Loop Guard can keep the affected port or instance non-forwarding.
Easy 18. What does storm control do most directly?
- Compute a new spanning tree from the cable diagram
- Select the switch with the lowest bridge ID
- Guarantee that no Ethernet loop physically exists
- Threshold-based suppression of selected traffic
Correct answer: D. Threshold-based suppression of selected traffic
Storm control contains traffic effects. It neither calculates spanning-tree roles nor proves that the forwarding cycle causing a storm has been removed.
Easy 19. Two separately configured switch links form redundant paths with no aggregation. Should an operator assume both will forward for the same STP instance?
- No; spanning tree may keep one path non-forwarding
- Yes; two cables always form a port-channel automatically
- Yes; STP shares traffic equally over all redundant links
- No; STP requires physically removing every spare cable
Correct answer: A. No; spanning tree may keep one path non-forwarding
Separate links are not automatically one logical bundle. A loop-free topology can retain physical redundancy while blocking one data path.
Easy 20. When a correctly formed EtherChannel is presented to spanning tree, how is it normally treated?
- As a reason to disable spanning tree on the VLAN
- As one logical spanning-tree port
- As a routed link regardless of its configuration
- As a separate root bridge for each member cable
Correct answer: B. As one logical spanning-tree port
Aggregation changes the logical topology seen by STP. Verify the bundle really formed instead of assuming the configuration intent matches operational membership.
Easy 21. A MAC address moves once during a documented failover and then stays stable. What does that alone establish?
- A permanent duplicate-IP conflict
- A guarantee that every VLAN lost its root bridge
- A location change that may be legitimate
- A sustained broadcast storm beyond doubt
Correct answer: C. A location change that may be legitimate
One expected move can be normal during failover. Persistent rapid moves across many sources need a different explanation and more evidence.
Easy 22. In per-VLAN spanning tree, can one physical trunk have different roles for two VLANs?
- Yes; but only if both VLANs have identical root paths
- No; roles are chosen solely from the trunk’s IP address
- Yes; the per-VLAN trees can select different roles
- No; one cable always has a single role for every VLAN
Correct answer: C. Yes; the per-VLAN trees can select different roles
The instance context matters. A trunk can be forwarding for one VLAN and discarding for another without its physical link being down.
Easy 23. A Cisco log reports BPDU Guard as the cause of errdisable. What should be checked before re-enabling the port?
- Only whether the attached laptop can resolve a hostname
- What attachment or bridging path delivered the BPDU
- Only whether the root has the lowest management IP
- Whether the interface description contains the word access
Correct answer: B. What attachment or bridging path delivered the BPDU
The cause message identifies a protection event, not an arbitrary outage. Inspect the actual attachment and policy rather than just cycling the interface.
Easy 24. Which post-repair observation is strongest for the original storm incident?
- The switch’s management name is unchanged
- An unrelated server answers one small ping
- A link LED turns green on one interface
- Stable roles and traffic rates, with affected service restored
Correct answer: D. Stable roles and traffic rates, with affected service restored
Acceptance must cover both the mechanism and user impact. A healthy physical indicator alone does not demonstrate loop-free delivery.
Easy 25. Why must a spanning-tree troubleshooting note identify the VLAN or instance?
- A VLAN number determines the DNS search suffix
- Bridge IDs are selected separately for each TCP socket
- Instances can have different roots and port roles
- Only one VLAN is ever carried on a trunk
Correct answer: C. Instances can have different roots and port roles
Without the instance, two correct outputs can appear contradictory. Record the same context before comparing root, port role, cost, and protection state.
Medium question library · 25 questions
Medium 1. A switch hears the same root through two ports. Port X receives advertised cost 8 and has local cost 4; Y receives advertised cost 4 and has local cost 19. No earlier comparison differs. Which root path is preferred?
- X, with total cost 12
- Y, because its advertised cost is lower
- X, because root path cost ignores the local port cost
- Y, with total cost 23
Correct answer: A. X, with total cost 12
Root-path comparison includes the receiving port’s contribution: X is 8 + 4 = 12, while Y is 4 + 19 = 23. The remote advertised cost is not the whole path.
Medium 2. Two ports offer the same root ID and total root path cost. One BPDU comes from a lower sender bridge ID. No other earlier criterion differs. Which path wins?
- The receiver’s lower local port ID, even when its sender bridge ID is worse
- Both paths as equal-cost STP multipath
- The one advertised by the lower sender bridge ID
- The higher sender bridge ID
Correct answer: C. The one advertised by the lower sender bridge ID
After root and total cost tie, the sender bridge ID helps break the root-port tie. User traffic timing and management IP are not election criteria.
Medium 3. Two parallel links to the same upstream bridge offer equal root ID and total cost. The sender bridge ID is identical, but sender port IDs differ. Which comparison comes next?
- The port that last received user data
- The lower sender port ID
- The less-utilized member link
- The lower local receiving-port ID first
Correct answer: B. The lower sender port ID
The upstream sender port ID breaks this stated tie before a final local receiving-port tie. Do not immediately choose the receiver’s smallest interface number.
Medium 4. On a shared segment in one instance, A and B advertise the same root. A’s root path cost is 12 and B’s is 20. Which side is preferred as designated, with no earlier difference?
- A’s side, because it advertises the lower root cost
- The side with lower local port cost only
- B, because higher root cost is preferred
- Both, because their root IDs match
Correct answer: A. A’s side, because it advertises the lower root cost
The designated side offers the better path information onto the segment. Its comparison uses the root cost it advertises, not the number of clients attached.
Medium 5. A triangle of switches has one alternate/discarding port and no loss or storm. A student proposes enabling all three sides for the same instance to use every cable. What is the issue?
- STP blocks a path only after detecting a duplicate frame
- It would recreate a Layer 2 forwarding cycle
- All three sides must forward to provide redundancy
- An alternate port cannot process BPDUs
Correct answer: B. It would recreate a Layer 2 forwarding cycle
The blocked data path can be the intended loop prevention. Physical redundancy is not permission to create a cycle of independent forwarding links.
Medium 6. A trunk forwards VLAN 10 but its VLAN 20 instance reports alternate/discarding. VLAN 20 reaches the root over another path. What is supported?
- The alternate role proves VLAN 20 is excluded
- VLAN 10’s forwarding role must be copied to VLAN 20 because both use the same physical cable
- VLAN 20 cannot have a working path elsewhere
- Different per-VLAN roles may be healthy in this topology
Correct answer: D. Different per-VLAN roles may be healthy in this topology
Per-VLAN forwarding can differ on the same link. Confirm the intended topology and reachability for VLAN 20 before changing its healthy alternate role.
Medium 7. A root-inconsistent port also shows a received superior root advertisement from an unapproved downstream switch. What is the narrow next action?
- Treat the received superior BPDU as a missing BPDU
- Check the downstream root claim against the design
- Make the downstream root claim still more preferred
- Remove Root Guard to accept the superior root
Correct answer: B. Check the downstream root claim against the design
Root Guard is enforcing a root-placement boundary. Fix the superior-root condition or approved design rather than removing the protection without explanation.
Medium 8. A previously alternate port reports loop-inconsistent after expected BPDUs stop, while physical link status remains up. What should be investigated?
- Treat every inconsistent state as a superior-root event
- A physically unplugged cable is certain
- Force designated forwarding because BPDUs are absent
- The missing control traffic and possible one-way link behavior
Correct answer: D. The missing control traffic and possible one-way link behavior
Carrier up does not prove bidirectional control delivery. Loop Guard can hold a port safely non-forwarding while the cause of missing BPDUs is investigated.
Medium 9. A host-facing PortFast port takes longer to become usable after an unmanaged bridge is attached. BPDUs now arrive and no BPDU Guard is configured. What changed?
- The delay alone proves BPDU Guard is enabled
- PortFast permanently disabled STP on that port
- The attachment no longer fits the assumed edge behavior
- The newest BPDU sender must become root
Correct answer: C. The attachment no longer fits the assumed edge behavior
Receiving BPDUs can remove operational edge status. Verify the new bridging attachment rather than treating expected topology participation as a DHCP-only failure.
Medium 10. A student joins two wall outlets with a patch cable. Many source MACs then alternate between two uplinks and broadcast rates jump. Which hypothesis fits the combined evidence best?
- A root election directly raising endpoint transmit rates
- A Layer 2 return path through the new patch
- A one-time move during an orderly failover
- A high-rate source with a stable learned location
Correct answer: B. A Layer 2 return path through the new patch
The new bridge path, broad MAC movement, and traffic amplification reinforce one another. The evidence supports a forwarding-cycle investigation rather than an application-only theory.
Medium 11. One printer emits heavy ARP traffic. Its MAC stays on one access port, STP roles are stable, and no return path is found. What should be examined next?
- Force an alternate path to forward more copies
- The stable printer MAC proves frame recirculation
- Move the root to stop the printer generating ARP
- The printer’s traffic generation before declaring a switching loop
Correct answer: D. The printer’s traffic generation before declaring a switching loop
A high-rate source can cause broadcast pressure without a loop. Stable topology and learning do not prove innocence, but they make the endpoint behavior an important next test.
Medium 12. A topology-change counter reads 800, but the last change was 18 days ago and current traffic is stable. What is missing from a claim of an active STP failure?
- The cumulative total proves a current change rate
- One passing ping disproves every historical impact
- An increase correlated with this incident
- The counter must be cleared before comparing snapshots
Correct answer: C. An increase correlated with this incident
A cumulative number lacks time context. Compare snapshots and incident timestamps rather than treating a historical total as the present event rate.
Medium 13. Unknown-unicast flooding rises during repeated topology changes, but broadcast rates remain normal. Which mechanism can explain this?
- The switch converts all learned unicasts into ARP requests
- Every unknown unicast proves a physical loop
- Topology changes change the Ethernet destination to broadcast
- MAC-table churn makes destinations temporarily unknown
Correct answer: D. MAC-table churn makes destinations temporarily unknown
Topology changes can affect learned forwarding information and increase flooding. Identify the traffic class correctly before equating flooding with a broadcast storm.
Medium 14. Two switches are intended to use a port-channel. Operational output shows one bundled member and one standalone forwarding link. What should be checked?
- Bundle membership and the standalone link’s STP state
- Remove STP from the standalone link
- Matching interface descriptions establish a bundle even when operational membership differs
- The bundled neighbor makes the standalone link safe
Correct answer: A. Bundle membership and the standalone link’s STP state
Configuration intent does not establish a single logical path. Verify members, compatibility, and the separate link’s forwarding role before assuming aggregation provides loop safety.
Medium 15. After a fiber fault, one endpoint still reports link up but stops receiving BPDUs. Which companion mechanism can help investigate or detect one-way link conditions on supported Cisco equipment?
- BPDU Guard on the BPDU-receiving uplink
- UDLD on supported equipment
- Root Guard for all one-way-link faults
- Storm control as proof of bidirectional delivery
Correct answer: B. UDLD on supported equipment
UDLD addresses link-direction problems and complements spanning-tree protections. A physical carrier indicator alone does not establish bidirectional communication.
Medium 16. A team lowers a switch’s bridge-priority number to make it less likely to become root. Why does this contradict STP election rules?
- STP prefers the highest bridge-priority number
- Lower values make the bridge ID more preferred
- Bridge priority affects designated roles only
- A lower MAC always beats a worse priority
Correct answer: B. Lower values make the bridge ID more preferred
The numerical convention is lower wins. Use an explicit intended primary and secondary root plan instead of reading the word priority as higher number wins.
Medium 17. Broadcast suppression restores usable bandwidth, but the same MACs continue flapping across a confirmed forwarding cycle. What is the repair status?
- The remaining flaps prove only a stale DNS cache
- Spanning tree has necessarily converged to a safe topology
- The source MAC addresses have all been changed successfully
- Containment helped; the loop remains
Correct answer: D. Containment helped; the loop remains
Storm containment can improve symptoms without removing the return path. Keep the topology defect open and verify its actual correction.
Medium 18. A switch shows the expected root ID. A redundant port was manually forced into forwarding and frame copies circulate. Which additional condition is necessary to rule out this forwarding fault?
- A loop-free operational forwarding topology
- No redundant interface remains discarding
- The root always has the fastest physical links
- Every repeated frame was independently generated
Correct answer: A. A loop-free operational forwarding topology
Correct root identity is only part of healthy spanning-tree operation. Port roles, state, and actual forwarding behavior must also agree with the intended tree.
Medium 19. A Catalyst port is error-disabled. No reason has been collected. Why is immediately blaming BPDU Guard premature?
- Errdisable is always just an alternate STP role
- BPDU Guard can never disable an interface
- The root bridge always reports every errdisable cause remotely
- Several protection or fault causes can produce errdisable
Correct answer: D. Several protection or fault causes can produce errdisable
Collect the cause and time from relevant logs or status. An interface state identifies the effect, not necessarily which feature triggered it.
Medium 20. A blocked inter-switch path is restored after a fault. Which test addresses the redundancy requirement?
- Failover and recovery of the affected VLANs
- All independent paths forwarding simultaneously
- No role or root change during any failure
- A normal-state root-ID snapshot only
Correct answer: A. Failover and recovery of the affected VLANs
Redundancy is a behavior under change. Exercise the intended failure and restoration path while checking loop-free delivery, not just the normal-state diagram.
Medium 21. VLAN 30 cannot traverse one trunk; STP says forwarding, but the trunk’s allowed-VLAN list excludes 30. What should be repaired first?
- The receiver’s TCP MSS advertisement
- BPDU Guard on every client port in VLAN 10
- The intended VLAN carriage on that trunk
- The root priority because forwarding must mean root failure
Correct answer: C. The intended VLAN carriage on that trunk
An STP forwarding state does not add a VLAN to the trunk. The observed carriage exclusion explains the failure without inventing a blocked-tree problem.
Medium 22. Wireless clients roam and a few MACs move between AP-facing ports without traffic amplification. Which follow-up best distinguishes mobility from a loop?
- Disable STP so AP paths cannot change roles
- Match moves with roaming and traffic evidence
- Use the stable root ID to rule out all loops
- Classify every location change as a loop
Correct answer: B. Match moves with roaming and traffic evidence
Mobility can legitimately change the learned location. Investigate whether the timing and scope fit roaming instead of discarding a relevant operational explanation.
Medium 23. A newly connected access switch unexpectedly becomes root for one VLAN. Which evidence best explains the election?
- Its carried VLAN count as the first election field
- Its root-port cost before comparing bridge IDs
- Its bridge ID compared with the previous root for that instance
- Its management IP against the previous root’s IP
Correct answer: C. Its bridge ID compared with the previous root for that instance
Root selection follows bridge-ID information. Compare the applicable instance and priority components rather than unrelated network settings.
Medium 24. A technician changes STP costs and removes an extra cable together, after which the storm stops. What can be claimed from that experiment?
- The cable removal alone is proved irrelevant
- The cost change alone is proved to have repaired the loop
- The combined change worked; individual causality is unclear
- Both changes are proved necessary for all VLANs
Correct answer: C. The combined change worked; individual causality is unclear
Two simultaneous changes weaken causal attribution. Record both and use controlled verification before retaining unnecessary topology changes.
Medium 25. Classic STP and RSTP outputs use blocking and discarding respectively for non-forwarding behavior. How should the comparison be made?
- Interpret state vocabulary in the actual protocol mode
- Read either term as a loss of physical carrier
- Use identical transition timers because both protocols have the same loop-prevention purpose
- Assume discarding always means a guard violation
Correct answer: A. Interpret state vocabulary in the actual protocol mode
Both protocols prevent loops, but state names and convergence mechanisms differ. Read the operating mode before applying a state or timer rule.
Hard question library · 25 questions
Hard 1. A and B advertise the same root. On switch C, the path via A costs 4 locally plus 16 advertised; via B costs 19 locally plus 0 advertised. A has the lower sender bridge ID. Which is preferred?
- Via B: total cost 19 versus 20 through A
- Via A, because the local cost alone is smaller
- Via A, because lower sender bridge ID overrides any path cost
- Neither; STP cannot compare paths containing different link costs
Correct answer: A. Via B: total cost 19 versus 20 through A
The totals differ, so there is no bridge-ID tie to break. Work through the comparison order instead of selecting the most familiar favorable field.
Hard 2. Two root-port candidates hear the same root with equal total cost. The higher-numbered local interface hears the lower sender bridge ID. Which candidate wins under these stated conditions?
- The less-utilized interface at equal root cost
- The higher local port, hearing the lower sender bridge ID
- Both, using ordinary STP equal-cost sharing
- The lower local interface, without considering the better sender bridge ID
Correct answer: B. The higher local port, hearing the lower sender bridge ID
The sender bridge ID precedes any final receiving-port comparison. Local interface numbering cannot override a superior earlier field.
Hard 3. On a shared segment, A advertises root path cost 8 and B advertises 12. A’s port cost onto the segment is 19 and B’s is 4. The root ID is identical. Which side is designated?
- Both, because port costs differ
- A, advertising the lower root path cost
- B, because 12 plus 4 is less than 8 plus 19
- B, because the port with lower local cost is always designated
Correct answer: B. A, advertising the lower root path cost
Do not reuse root-port total-cost arithmetic for this comparison. Each bridge offers its existing root path cost on the segment; A’s better advertisement wins the stated election.
Hard 4. A root-inconsistent boundary blocks after a contractor attaches a low-priority switch. Disconnecting that attachment clears the condition. What should be verified before the contractor reconnects?
- Root Guard removed so the superior root can win
- Only ordinary broadcast reception while blocked
- The attachment policy and intended root placement
- An even lower contractor priority to avoid superiority
Correct answer: C. The attachment policy and intended root placement
The evidence ties the block to a superior root claim. Restore an attachment that meets the design rather than treating the successful protection as the defect.
Hard 5. Loop Guard holds VLAN 40 non-forwarding on a trunk, but VLAN 50 still passes. Expected VLAN 40 BPDUs disappeared after a policy change. Which investigation fits?
- Copy VLAN 50’s role into VLAN 40
- Per-instance control delivery and filtering on the affected path
- Remove Loop Guard based on working VLAN 50 data
- Replace the cable because one VLAN implies no carrier
Correct answer: B. Per-instance control delivery and filtering on the affected path
A shared physical link can carry distinct instance behavior. Healthy VLAN 50 traffic does not show that VLAN 40’s required control messages arrived.
Hard 6. An edge port repeatedly hits BPDU Guard after each automatic recovery. The attached phone has a small downstream bridge connected to a second wall outlet. What is a durable repair?
- Recover faster while retaining the same attachment
- Remove the unintended bridge path and restore edge policy
- Filter the BPDUs and retain the data return path
- Change root priority but retain the BPDU source
Correct answer: B. Remove the unintended bridge path and restore edge policy
Repeated re-enablement treats the protection effect while recreating the violation. Remove or redesign the return path, then restore the appropriate port behavior.
Hard 7. A team enables interface-level BPDU filtering on both ends of a redundant link to silence warnings. The links then forward and traffic amplifies. What failed?
- Filtering performs the same election as STP
- The disappearance of BPDU-related warnings proves that the redundant data path is now loop-free
- Hidden control traffic prevents the data cycle
- BPDU visibility was removed while the data cycle remained
Correct answer: D. BPDU visibility was removed while the data cycle remained
Suppressing BPDUs is not equivalent to controlling data forwarding. Interface-level filtering can hide the information STP needs to keep redundant paths safe; confirm the exact platform behavior.
Hard 8. A single high-rate multicast sender overloads a VLAN while STP stays stable. Captures show one ingress copy per packet and no recirculation. What claim is best supported?
- High-rate multicast proves frame recirculation
- Investigate the source and multicast forwarding; a loop is unproved
- Moving the root stops the source’s original frames
- Stable STP proves traffic cannot harm applications
Correct answer: B. Investigate the source and multicast forwarding; a loop is unproved
The packet evidence distinguishes traffic generation and replication policy from repeated circulation. A stable tree can still carry too much legitimate or misdirected traffic.
Hard 9. Switch A logs a MAC flap on its uplinks, but the actual repeated return path is two switches farther away. Why should A not automatically be named the faulty switch?
- The first logger must own the flapping MAC
- Only a local fault permits a downstream MAC move
- The flap log identifies the local cable creating the loop, even when frames return farther downstream
- It is an observation point, not necessarily the origin
Correct answer: D. It is an observation point, not necessarily the origin
Trace the source across neighbors, VLAN context, and matching times. Downstream circulation can create symptoms on several otherwise correctly configured switches.
Hard 10. A supposed LACP bundle has all members forwarding, but only one side groups them into a channel. MACs flap and the remote side sees separate links. What should the repair target?
- Consistent operational aggregation at both ends
- Use matching descriptions as operational bundle proof
- Keep one-sided bundling and raise traffic thresholds
- Disable STP globally to let LACP negotiate
Correct answer: A. Consistent operational aggregation at both ends
One-sided aggregation assumptions can produce unsafe or inconsistent forwarding. Verify negotiation, member compatibility, and actual logical-port state at both ends before restoring redundant paths.
Hard 11. A network is stable with one cable removed, but the service requirement includes surviving either uplink failure. Has the final requirement been met?
- Yes; a physically disconnected cable is an active standby path
- Yes; any single working link proves both failure cases
- No; all physical links must always forward in the same instance
- No; the required redundant operation remains untested
Correct answer: D. No; the required redundant operation remains untested
Removing a cycle can contain an incident while sacrificing redundancy. Complete the design repair and exercise both required failure paths without recreating the cycle.
Hard 12. A root ID stays constant, but topology-change timestamps repeatedly follow a non-edge access link bouncing. Flooding rises after each event. What should be checked before moving the root?
- Move the root because every TC proves bad placement
- Clear the total to prevent further flooding
- Make every trunk operationally edge
- The bouncing link and its actual attachment role
Correct answer: D. The bouncing link and its actual attachment role
The event sequence points to recurring link or attachment behavior, not an election change. Verify the physical cause and genuine endpoint status before adjusting any edge configuration.
Hard 13. A controller shows an intended primary root, but current on-switch output names another bridge for VLAN 60. The screenshot is from before a change. Which evidence should guide the immediate diagnosis?
- The older intended-state screenshot overrides the later root election reported by the switch
- Another VLAN’s root ID without instance mapping
- A link-up indicator on the intended root
- Current instance output compared with the approved design
Correct answer: D. Current instance output compared with the approved design
Separate desired, historical, and live state. Current evidence locates the behavior; the approved design determines whether that behavior is correct.
Hard 14. Two captures contain matching broadcast frames. Their switch mirror sources overlap, and no ingress direction was recorded. Why is that insufficient to prove recirculation?
- A stable root makes mirror duplication impossible
- Duplicates prove traversal of every diagrammed uplink
- The enclosed IP TTL reveals exactly how many ordinary Ethernet switches the frame crossed
- Overlapping mirror sources can duplicate an original frame
Correct answer: D. Overlapping mirror sources can duplicate an original frame
Capture duplication is an alternative explanation. Establish observation points, direction, timing, and a returning data path before treating duplicate entries as a loop.
Hard 15. A VM host bridges two physical NICs into the same VLAN. Both switch ports were documented as ordinary endpoints. New BPDU Guard events and MAC moves appear. What has the inventory missed?
- Only physical switch hardware can create a return path
- Two host NICs automatically form one safe channel
- A software bridge that changes the Layer 2 topology
- Two carrier-up links alone make the host root
Correct answer: C. A software bridge that changes the Layer 2 topology
Bridging inside a host is still bridging. Physical-switch diagrams must include hypervisors and other software paths when classifying attachment and protection policies.
Hard 16. An RSTP uplink remains in a slower transition after connecting to a legacy STP neighbor. Someone promises that RSTP guarantees the same subsecond recovery on every link. What is wrong?
- Legacy interoperability can limit rapid transition
- RSTP skips all timers with every legacy neighbor
- A faster CPU guarantees rapid legacy agreement
- Legacy BPDUs stop all source-MAC learning
Correct answer: A. Legacy interoperability can limit rapid transition
Rapid convergence depends on the protocol exchange and topology conditions. Verify the actual operating mode, link type, and neighbor behavior instead of promising one universal delay.
Hard 17. All switches claim a stable tree, yet an unmanaged device returns ordinary frames while filtering the BPDUs needed across that path. What does this expose?
- A data path exists outside STP’s effective control view
- Suppressing BPDUs safely isolates a bridge’s data
- Data frames replace the missing root BPDUs
- Stable root output proves every data path is visible
Correct answer: A. A data path exists outside STP’s effective control view
A topology-control protocol cannot safely account for an invisible forwarding path. Trace the hidden bridge and control handling rather than trusting root identity alone.
Hard 18. One physical uplink carries VLANs mapped to MST instance 1 and another VLAN mapped to instance 2. What must a student inspect before predicting which uplink is blocked?
- The mapping and operational roles for each MST instance
- One physical-port role for every instance
- One independent tree per VLAN without mapping
- The highest VLAN number selects the trunk’s role
Correct answer: A. The mapping and operational roles for each MST instance
MST groups VLANs into instances; it is not automatically a separate tree per VLAN. Use the actual mapping and region context for the prediction.
Hard 19. A team wants the same MST region, but one switch differs in VLAN-to-instance mapping. Which comparison belongs in the next check?
- The newest revision alone
- The region name alone, because matching names makes every VLAN-to-instance map equivalent
- Region name, revision, and VLAN-to-instance mapping
- A shared management subnet
Correct answer: C. Region name, revision, and VLAN-to-instance mapping
Matching a region name alone does not establish an identical MST configuration. Compare the relevant region identifiers and mapping before interpreting a boundary as an internal link.
Hard 20. A post-repair ping passes, but the capture still shows repeated frame circulation and a limiter is dropping excess copies. What is the correct closure decision?
- Remove the limiter first and assume STP will reconstruct the hidden path
- Declare the remaining copies a DNS cache artifact
- Keep the topology defect open despite partial service recovery
- Close the incident because any successful echo proves loop prevention
Correct answer: C. Keep the topology defect open despite partial service recovery
A passing transaction cannot override direct evidence that the unsafe mechanism remains. Distinguish impact mitigation from a corrected forwarding topology.
Hard 21. A loop appears in VLAN 70 only after an allowed-VLAN change activates a redundant path. VLAN 80 stays healthy. Which comparison is most useful?
- VLAN 70 carriage, roles, and BPDUs before and after
- Uptime without the affected VLAN’s carriage state
- VLAN 80’s stable forwarding proves the allowed-VLAN change could not create a cycle for VLAN 70
- Carrier alone proves identical VLAN paths
Correct answer: A. VLAN 70 carriage, roles, and BPDUs before and after
The change altered which Layer 2 paths are eligible for VLAN 70. Reconstruct that instance rather than extending VLAN 80’s healthy result to every VLAN.
Hard 22. During an authorized failover test, the old root disappears and a planned secondary becomes root. One MAC move occurs, traffic resumes, and the tree stabilizes. How should this be classified?
- A routing failure because the secondary has a different bridge MAC
- Expected recovery if it meets the measured service criteria
- Proof that BPDU Guard must be removed from every edge port
- A persistent loop because any root change is a defect
Correct answer: B. Expected recovery if it meets the measured service criteria
Topology change during an intended failure is not automatically instability. Compare the measured convergence, service recovery, and final roles with the design’s acceptance conditions.
Hard 23. A guard alarm and an application timeout occur at the same second, but the alarm is for VLAN 90 and the timeout flow uses VLAN 20 on another path. What is needed before assigning causality?
- Matching time proves a shared VLAN forwarding tree
- Any guard alarm, even off the flow’s path
- Evidence linking the flow to the affected instance and event
- Move the root before identifying the affected instance
Correct answer: C. Evidence linking the flow to the affected instance and event
Coincidence is not a demonstrated dependency. Map the affected flow to the specific forwarding instance and event before choosing a repair.
Hard 24. A technician proposes BPDU Guard on an inter-switch uplink that must receive BPDUs. The actual objective is preventing a downstream switch from taking root. What policy fits better on the appropriate designated boundary?
- PortFast everywhere, because edge status prevents superior advertisements
- BPDU Guard, because all expected uplink BPDUs should disable the interface
- Root Guard, after verifying the intended topology and platform support
- Interface-level BPDU filtering, because hidden BPDUs preserve the same control
Correct answer: C. Root Guard, after verifying the intended topology and platform support
The requirement allows topology participation but rejects a superior root from that direction. BPDU Guard’s any-BPDU policy would conflict with the expected uplink behavior.
Hard 25. A repair report says “fixed the storm” after a suspect patch was removed. Which evidence best completes a defensible handoff?
- No drops after raising the storm-control threshold
- The final root ID without port or service checks
- The removed path, stable counters and roles, and service/failover results
- One passing ping with required failover untested
Correct answer: C. The removed path, stable counters and roles, and service/failover results
A useful closure connects the mechanism, the specific change, and representative acceptance. Include any remaining redundancy limitation instead of describing containment as a finished design.
Read the forwarding tree for the affected instance
A cable diagram shows physical possibilities. Spanning tree selects which of those possibilities can forward ordinary Layer 2 traffic without creating a cycle. A spare link that is discarding can therefore be evidence that protection is working. Begin with the affected VLAN or instance, the actual protocol mode, and the intended primary and secondary root. Without that context, “the uplink is blocked” is an incomplete description.
Record three different facts for each relevant port: physical link status, spanning-tree role, and forwarding state. An interface can have carrier, participate in topology control, and still discard user frames. A root-inconsistent state tells a different story from error-disabled. VLAN carriage is another independent check: a port that STP permits to forward does not carry a VLAN that its trunk configuration excludes.
Keep the scope accurate. Per-VLAN spanning tree can give the same trunk different roles for different VLANs. MST maps VLANs to instances, so several VLANs can share one tree. For switches intended to share an MST region, compare the region name, revision, and VLAN-to-instance mapping. Do not assume a region name alone establishes matching configuration. Review switching, VLAN, and Ethernet practice if the distinction between a physical port, a VLAN, and an eligible forwarding path is still unclear.
Work a root-path comparison before using a tie-break
Root election prefers the lowest bridge ID, not the highest numerical priority and not the lowest management IP address. The priority component precedes the MAC-address portion. When comparing switches in the same instance, a lower applicable priority value wins before a MAC tie-break matters. Operational output may include an extended system ID; compare the actual instance context rather than stripping fields you do not recognize.
After identifying the root, a non-root switch selects its best path toward that root. For root-port candidates hearing the same root, add the receiving port cost to the cost advertised by the neighbor. Only when the relevant cost comparison ties do later fields, such as sender bridge ID and sender port ID, decide the result. The receiver’s lowest printed interface number is not a shortcut around those earlier comparisons.
The following invented costs are stated for this exercise; they are not a universal speed-to-cost table. Switch C hears the same root ID on both candidates. All links and paths shown are available.
Swipe horizontally to compare each complete path calculation.
| Candidate at C | Neighbor advertises | Local receiving-port cost | Total toward the root | Decision |
|---|---|---|---|---|
| Port toward A | 16 | 4 | 20 | Not preferred |
| Port toward B | 0 | 19 | 19 | Preferred root path |
The port toward B wins even if A has the lower sender bridge ID, because the totals do not tie. Designated-port comparison on a segment is a different viewpoint: compare the root information the bridges advertise onto that segment. Do not automatically add each transmitting port’s cost as though you were selecting a receiving root port. Write down whose decision you are making before doing the arithmetic.
Separate a port’s job from its current forwarding state
A root port is a non-root switch’s selected path toward the root. A designated port offers the preferred path information onto its segment. An RSTP alternate role provides another potential path while staying out of active data forwarding. The root bridge itself has no root port. These roles describe relationships in a particular tree; they do not tell you that a cable is damaged.
Classic STP and RSTP use different state vocabulary. Classic STP includes blocking, listening, learning, forwarding, and disabled. RSTP uses discarding, learning, and forwarding. In learning, a switch can populate source-MAC information while withholding ordinary user forwarding. A port that does not forward user frames can still participate in control processing. Treating every non-forwarding state as “dead” leads to repairs that undo loop prevention.
Rapid convergence also needs the right conditions. Edge classification, point-to-point operation, neighbor protocol behavior, and proposal/agreement processing matter. A connection to a legacy neighbor does not promise the same recovery as an appropriate RSTP exchange. Avoid a universal “always under one second” claim. Measure the relevant failure and restoration cases against the service requirement, using the network design and redundancy test to connect topology choices with acceptance criteria.
Interpret the protection event before clearing it
PortFast, BPDU Guard, Root Guard, and Loop Guard solve different problems. PortFast improves the initial forwarding transition on a genuine edge attachment. It is not permission to attach an unknown bridge or hide topology messages. BPDU Guard enforces an attachment policy: when explicitly enabled on the interface in these questions, a received BPDU produces a Cisco error-disabled condition. The immediate investigation is what delivered that unexpected control message.
Root Guard belongs at an appropriate designated boundary where a superior downstream root claim should not be accepted. Root-inconsistent blocking can be the correct enforcement of that design. Loop Guard addresses missing expected BPDUs on eligible non-designated paths; it can keep the affected instance non-forwarding rather than allowing silence to become an unsafe forwarding decision. A physically up link can still have a one-way or control-delivery problem. UDLD addresses link-direction behavior on supported equipment and can complement the spanning-tree protection.
Swipe horizontally to compare the event with the next evidence to collect.
| Observed event | Question to investigate | Weak response to avoid |
|---|---|---|
| BPDU Guard errdisable | What unexpected bridge or return path sent the BPDU? | Repeatedly recovering the same unsafe attachment |
| Root-inconsistent | Which superior root claim crossed the intended boundary? | Removing the boundary policy to silence the alarm |
| Loop-inconsistent | Why did expected BPDUs stop for this instance? | Forcing forwarding because carrier is still up |
Exact defaults, command syntax, automatic recovery, and guard interactions vary by platform and release. Confirm the operating documentation before applying a configuration. An interface labeled “access” is not evidence that its attached device is incapable of bridging.
Distinguish a forwarding loop from a high-rate source
A switching loop supplies an active return path for frames. Flooded traffic can return and be replicated again. Ordinary Layer 2 forwarding does not decrement an enclosed IP TTL, so the Layer 3 routing-loop expiration mechanism does not solve this problem. Ethernet broadcasts and unknown unicasts are useful evidence, but unknown-unicast flooding does not change the destination MAC into a broadcast address.
Build the diagnosis from several observations. A new connection is followed by many source MACs rapidly moving across competing paths; broadcast or flooded traffic rises sharply; captures establish frame return; the affected VLAN has an unintended forwarding cycle. Together these observations support a loop much more strongly than “utilization reached 95%.” A malfunctioning endpoint can generate heavy ARP traffic on one stable port without any return path.
MAC movement also has legitimate explanations. A controlled failover, a wireless roam, or virtual-machine movement can change a learned location. Record whether the moves are brief or sustained, which sources are involved, and whether traffic amplification accompanies them. The switch logging a flap may only be observing a loop elsewhere. Trace the path rather than naming the first device that emitted an alarm. The switching-loop and broadcast-storm explainer develops this mechanism; the test above turns it into specific evidence decisions.
Use a timeline and two observation points
A cumulative topology-change counter needs a time window. Eight hundred changes over a long device uptime cannot establish an active incident. Collect a second snapshot, the last-change time, the reporting port, and the operating mode. Repeated link changes can produce forwarding-table churn and unknown-unicast flooding without a new root election. A stable root ID does not guarantee stable port behavior.
For a capture, document where the mirror or tap observes ingress and egress. Overlapping SPAN sources can record the same original frame more than once. Two matching entries do not prove that a frame traveled around a cycle. Stronger evidence shows a copy returning at a known boundary, in the expected direction, with correlated timing and forwarding information. Check capture drops and mirror capacity before treating a missing observation as proof that a switch discarded the frame.
Useful Cisco IOS-style inspection commands can include show spanning-tree vlan 20 detail, show spanning-tree inconsistentports, show interfaces status err-disabled, show mac address-table, and show etherchannel summary. Availability and output vary. These are examples for reading state, not a universal command sequence for every vendor. Compare the same switch, instance, and incident interval. Use the packet-capture analysis questions when the uncertain step is what an observation actually proves.
Restore a safe topology, then prove the service requirement
During an incident, authorized containment may break a suspected return path or limit damaging traffic. Document precisely what it does. Storm control can make a network usable while the cycle remains; removing a cable can restore stability while sacrificing required redundancy. Neither outcome alone proves the finished design. Keep the mechanism, the containment action, and the permanent repair as separate statements.
After correcting the cause, collect the expected root and per-instance roles, normalizing traffic counters, absence of sustained unintended MAC movement, and representative user-service results. Then test required failover and restoration under controlled conditions. A brief expected root change or MAC move during that exercise is not automatically a defect. The acceptance question is whether the tree settles and the required workload recovers within the agreed measurement.
For a written closure, record the affected VLAN, the unintended path, the change, the evidence of stable operation, the measured failure tests, and any remaining limitation. Download the practice log before restarting or changing difficulty. It stays in your browser’s download workflow until you choose to share it; no automatic Canvas submission or teacher dashboard is provided. Choose the next review task from the topic practice library, or connect this work to the networking study guide.
Technical references and a classroom evidence task
The questions and examples are independently written instructional material, not official Cisco or College Board exam items. Check the named platform when applying vendor-specific features. Primary references include Cisco’s guides to RSTP roles and transitions, PortFast and BPDU Guard, Root Guard, Loop Guard and UDLD, MST region behavior, and MAC-flap troubleshooting. Cisco’s STP troubleshooting guide also distinguishes containment, cause repair, and restoring redundancy.
Give students a three-switch drawing, two instance outputs, and a before-and-after counter pair. Ask them to mark the expected forwarding tree, identify one observation that does not prove a loop, propose the next controlled check, and write an acceptance condition that includes the required spare path. Grade how their conclusion follows from the evidence, rather than how many protection-feature names they can list.