Rapid Spanning Tree Protocol (RSTP)

rstp-port-roles

Rapid Spanning Tree Protocol (RSTP) is the second STP type. It is a fast converged version of Spanning Tree Protocol 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, Rapid Spanning Tree Protocol is similar to STP. But with some additional improvements, It is more useful. Let’s check the details.


RSTP Port Roles

RSTP has port roles like STP. These Rapid Spanning Tree Protocol 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. Rapid Spanning Tree Protocol uses all eight bits. RSTP (802.1w) BPDU is given below:

RSTP-bpdu

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 parameters to support the Rapid Spanning Tree Protocol characteristics.


You can also view the related RFC 4318.


RSTP Port States

RSTP has three states. These are:

• Discarding State
• Learning State
• Forwarding State

Other STP Articles

Spanning Tree Protocol – STP Overview
Spanning Tree Protocol – STP Operation
Spanning Tree Protocol – RSTP Overview
Spanning Tree Protocol – STP Portfast Configuration on Cisco
Spanning Tree Protocol – RSTP Configuration on Cisco
Spanning Tree Protocol – STP Configuration on Huawei
Spanning Tree Protocol – RSTP Configuration on Huawei

gokhan-kosem-instructor-ipcisco

Gokhan Kosem is a Network Engineer, Instructor and the Founder of IPCisco.com with 15+ years of experience in Cisco, Nokia, Huawei, Juniper, Linux, Service Provider Networks, Routing and Switching technologies.

He has worked on the backbone networks of major service providers and network vendors including Nortel, Alcatel-Lucent (Nokia) and has extensive hands-on experience with Cisco, Huawei, Juniper and Nokia networking technologies.

He has trained thousands of networking students worldwide through IPCisco.com, Udemy, books, labs, quizzes, and educational content across multiple social media platforms.

IPCisco.com | Best Route to Your Dreams

0 Responses to “Rapid Spanning Tree Protocol (RSTP)”


Leave a Reply

Your email address will not be published. Required fields are marked *