RSTP roles and convergence
Roles versus states
Rapid Spanning Tree Protocol (RSTP) speeds convergence compared with classic STP under suitable conditions. A root port is the selected best path toward the root on a non-root bridge. A designated port supplies the best spanning-tree information on a segment. An alternate offers another route toward the root; a backup is a redundant port of the same bridge on the same shared segment. Disabled ports do not participate. Roles describe purpose, while states describe what a port does.
Compare the state machines
Classic STP distinguishes blocking, listening, learning and forwarding (plus disabled). RSTP uses discarding, learning and forwarding; discarding covers the non-learning, non-forwarding behavior of classic blocking/listening/disabled states. Learning populates the MAC table without forwarding ordinary data frames. In a stable connected point-to-point example, root and designated ports forward; alternate ports discard. A designated port may temporarily discard during a transition.
Work through the triangle
Use A < B < C and cost 10 on each receiving port. After convergence, B and C choose their links to A as root ports. B wins the designated role on B–C, C is alternate there. Remove A–C on paper: C now reaches A through B for a cost of 20. Its former alternate becomes root; B remains designated toward C. The following is an expected stable snapshot, not captured switch output.
Before: A-B active, A-C active; C toward B alternateAfter: A-B active, B-C active; C toward B rootC cost: 10 -> 20How faster convergence works
On suitable point-to-point links, proposal/agreement exchanges allow adjacent bridges to synchronize roles before rapidly transitioning to forwarding. Edge ports can transition quickly when correctly designated as host-facing. Legacy neighbors, shared media, loss detection, inconsistent configuration and hardware affect convergence. Do not equate convergence with a fixed delay. Classic timer values often taught are hello 2 s, max age 20 s and forward delay 15 s; these are illustrative defaults, not a measured recovery time. Topology changes can trigger MAC table updates and temporary flooding.
Validate stable results
Compare the root ID, root-path costs, role and state per port and topology-change counters before and after the planned failure. Check reachability in both directions and ensure the active links form one connected tree without cycles. A paper prediction cannot test protocol handshake timing or transient loss. Practice: restore A–C and predict C’s final root port and cost. It should return to A at cost 10 under the original assumptions.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
RSTP roles and convergence — knowledge check
Reason about stable spanning-tree topology and safeguards.
What is the selected best path toward the root called on a non-root bridge?
Which RSTP state can learn MAC addresses without forwarding ordinary data?
A–C fails in the equal-cost triangle rooted at A. What is C’s new root-path cost?
What is the purpose of proposal/agreement on suitable point-to-point links?
What can you conclude about recovery time from a final paper tree?