Rapid Spanning Tree Protocol (RSTP)
Rapid Spanning Tree Protocol (RSTP) is the second STP type. RSTP is a fast converged version of STP as its name implies. RSTP bypass the Blocking State and Listenning State of STP, and provide Forwarding State in 15 Seconds. So, the convergence time is lower than STP.
In some cases, RSTP is similar to STP. But with some additional improvements, RSTP is more useful. Let’s check the details.
RSTP Port Roles
RSTP has port roles like STP. These RSTP Port Roles are:
• Root Port
• Designated Port
• Alternate Port
• Backup Port
Root Port is the port on a switch that is the closest way (Lowest Cost) to the Root Bridge.
Designated Port is the port, that can send the best BPDU on its segment.
Alternate Port is a blocking port that receives better BPDU from another switch. It is the backup of Root Port.
Backup Port is a blocking port that receives better BPDU from the same switch. It is the backup of Designated Port.
STP Algorithm determines the role of a port based on BPDUs. STP BPDU was using two bits of BPDU part. RSTP uses all eight bits. RSTP (802.1w) BPDU is given below:
Here, there is an additional port definion called “Edge Port”. Edge Ports are the ports that connect to the Host devices like PCs, Servers, etc. So, Edge Ports are not participate in RSTP calculation. They do not receive BPDUs and they can go to the Forwarding State immediately.
STP use two type of BPDU, RSTP use single type BPDU. Contains additional paramaetrs to supp?r the RSTP characteristics.
RSTP Port States
RSTP has three states. These RSTP States are:
• Discarding State
• Learning State
• Forwarding State