0% found this document useful (0 votes)
16 views2 pages

Understanding Rapid Spanning Tree Protocol

Rapid Spanning Tree Protocol (RSTP) improves upon STP by enabling faster network convergence. It uses a proposal and agreement process to immediately negotiate new links without waiting for timers to expire. This cascades effects from the root bridge through the network. RSTP also introduces edge ports that can directly transition to the forwarding state without delay, simplifies port states to discarding, learning, and forwarding, and allows non-root bridges to independently send configuration BPDUs to speed up calculations.

Uploaded by

Just Solo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Understanding Rapid Spanning Tree Protocol

Rapid Spanning Tree Protocol (RSTP) improves upon STP by enabling faster network convergence. It uses a proposal and agreement process to immediately negotiate new links without waiting for timers to expire. This cascades effects from the root bridge through the network. RSTP also introduces edge ports that can directly transition to the forwarding state without delay, simplifies port states to discarding, learning, and forwarding, and allows non-root bridges to independently send configuration BPDUs to speed up calculations.

Uploaded by

Just Solo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Rapid Spanning Tree Protocol (RSTP)

o STP ensures a loop-free network but has a slow network topology convergence speed, leading to
service deterioration. If the network topology changes frequently, the connections on the STP
capable network are frequently torn down, causing regular service interruption.

o RSTP employs a proposal and agreement process which allows for immediate negotiation of
links to take place, effectively removing the time taken for convergence based timers to expire
before spanning tree convergence can occur. The proposal and agreement process tends to
follow a cascading effect from the point of the root bridge through the switching network, as
each downstream switch begins to learn of the true root bridge and the path via which the root
bridge can be reached.

RSTP Edge Ports

- In RSTP, a designated port on the network edge is called an edge port. An edge port directly
connects to a terminal and does not connect to any other switching devices. An edge port does
not receive configuration BPDU, so it does not participate in the RSTP calculation.
- It can directly change from the Disabled state to the Forwarding state without any delay, just
like an STP-incapable port. If an edge port receives bogus configuration BPDU from attackers, it
is deprived of the edge port attributes and becomes a common STP port. The STP calculation is
implemented again, causing network flapping.

Port States of RSTP

- RSTP introduces a change in port states that are simplified from five to three types. These port
types are based on whether a port forwards user traffic and learns MAC addresses. If a port
neither forwards user traffic nor learns MAC addresses, the port is in the Discarding state. The
port is considered to be in a learning state where a port does not forward user traffic but learns
MAC addresses. Finally where a port forwards user traffic and learns MAC addresses, the port is
said to be in the Forwarding state.

RSTP BPDU

In STP, after the topology becomes stable, the root bridge sends configuration BPDU at an interval set by
the Hello timer. A non-root bridge does not send configuration BPDU until it receives configuration
BPDU sent from the upstream device. This renders the STP calculation complicated and time-consuming.
In RSTP, after the topology becomes stable, a non-root bridge sends configuration BPDU at Hello
intervals, regardless of whether it has received the configuration BPDU sent from the root bridge; such
operations are implemented on each device independently.

Common questions

Powered by AI

RSTP edge ports face security risks primarily from receiving bogus configuration BPDUs, which can be sent by an attacker to manipulate network behavior. When an edge port receives such BPDUs, it loses its edge attributes and reverts to functioning as a regular STP port, which then triggers the STP calculation process . This can cause network flapping, creating instability as the network topology adjusts to the perceived changes, potentially leading to increased latency and packet loss which degrade network performance .

RSTP manages edge ports by designating them as directly connected to terminals rather than other switching devices. As such, edge ports do not receive configuration BPDUs and do not participate in the RSTP calculation, allowing them to transition directly from the Disabled state to the Forwarding state without delay . This capability enhances network performance by enabling immediate forwarding of user traffic upon port activation, reducing downtime. However, if an edge port receives a bogus configuration BPDU (e.g., from an attack), it loses its edge attributes and becomes a regular STP port, potentially causing network flapping .

RSTP simplifies port states by reducing them from the five states used in STP to three primary states based on whether a port forwards user traffic and learns MAC addresses . The three simplified states are: Discarding (neither forwards traffic nor learns MAC addresses), Learning (does not forward traffic but learns MAC addresses), and Forwarding (forwards traffic and learns MAC addresses). This simplification provides advantages by reducing complexity in protocol operations, thus speeding up the process of moving port states appropriately during topology changes and ultimately improving network efficiency and reliability .

The main differences in network convergence between STP and RSTP lie in their approach to handling network changes. STP has a slow convergence speed due to its reliance on timer-based processes, which requires waiting for timers to expire before network topology changes are recognized and a new topology is formed. This can lead to service deterioration, especially in frequently changing network environments . In contrast, RSTP improves convergence speed by using a proposal and agreement process that allows for immediate negotiation of links. This process flows from the root bridge through the network, enabling downstream switches to quickly learn about the root bridge and the optimal path to reach it, effectively bypassing the slow timer expiration of STP .

RSTP ensures faster network topology stabilization primarily through its proposal and agreement process and changes in BPDU transmission. Unlike STP, which requires a non-root bridge to wait for a Hello timer to expire or receipt of configuration BPDU from the root bridge, RSTP allows each switch to independently send during Hello intervals, irrespective of whether it has received a configuration BPDU from the root bridge . The proposal and agreement operations occur quickly as each switch in the network acknowledges and updates its topology information to make informed decisions on network path selections .

You might also like