Difficulty: Easy
Correct Answer: Switch(config)# spanning-tree mode rapid-pvst
Explanation:
Introduction / Context:Rapid Spanning Tree Protocol (RSTP), standardized as IEEE 802.1w, accelerates convergence compared to the original 802.1D STP. Cisco implements RSTP per-VLAN with the rapid-pvst mode (Rapid-PVST+).
Given Data / Assumptions:
Concept / Approach:On IOS, spanning tree mode choices typically include pvst, rapid-pvst, and mst. There is no literal mode 802.1w command. Therefore, the correct configuration uses the Rapid-PVST keyword in config mode.
Step-by-Step Solution:
Enter global config: configure terminal.Apply: spanning-tree mode rapid-pvstVerify: show spanning-tree summary (should report mode as rapid-pvst).Verification / Alternative check:Use show spanning-tree and show spanning-tree summary to verify RSTP timers/roles (alternate/backup ports appear only in RSTP).
Why Other Options Are Wrong:
Common Pitfalls:Confusing RSTP (rapid-pvst) with MST (spanning-tree mode mst); mixing modes across a Layer 2 domain causing PVST simulation issues.
Final Answer:Switch(config)# spanning-tree mode rapid-pvst
Discussion & Comments