RUGGEDCOM RSG2488
User Guide
Chapter 5
Setup and Configuration
RSTP States and Roles
121
propagation of topology information throughout the network. RSTP also offers a number of other significant
innovations, including:
• Topology changes in RSTP can originate from and be acted upon by any designated bridges, leading to more
rapid propagation of address information, unlike topology changes in STP, which must be passed to the root
bridge before they can be propagated to the network.
• RSTP explicitly recognizes two blocking roles - Alternate and Backup Port - which are included in computations
of when to learn and forward. STP, however, recognizes only one state - Blocking - for ports that should not
forward.
• RSTP bridges generate their own configuration messages, even if they fail to receive any from the root bridge.
This leads to quicker failure detection. STP, by contrast, must relay configuration messages received on the
root port out its designated ports. If an STP bridge fails to receive a message from its neighbor, it cannot be
sure where along the path to the root a failure occurred.
• RSTP offers edge port recognition, allowing ports at the edge of the network to forward frames immediately
after activation, while at the same time protecting them against loops.
While providing much better performance than STP, IEEE 802.1w RSTP still required up to several seconds to
restore network connectivity when a topology change occurred.
A revised and highly optimized RSTP version was defined in the IEEE standard 802.1D-2004 edition. IEEE
802.1D-2004 RSTP reduces network recovery times to just milliseconds and optimizes RSTP operation for
various scenarios.
ROS supports IEEE 802.1D-2004 RSTP.
The following sections further describe the operation of RSTP:
•
Section 5.2.1.1, “RSTP States and Roles”
•
•
Section 5.2.1.3, “Point-to-Point and Multipoint Links”
•
Section 5.2.1.4, “Path and Port Costs”
•
Section 5.2.1.5, “Bridge Diameter”
•
•
Section 5.2.1.7, “Fast Root Failover”
Section 5.2.1.1
RSTP States and Roles
RSTP bridges have roles to play, either root or designated. One bridge - the Root Bridge - is the logical center of
the network. All other bridges in the network are Designated bridges. RSTP also assigns each port of the bridge
a state and a role. The RSTP state describes what is happening at the port in relation to address learning and
frame forwarding. The RSTP role basically describes whether the port is facing the center or the edges of the
network and whether it can currently be used.
State
There are three RSTP states: Discarding, Learning and Forwarding.
The discarding state is entered when the port is first put into service. The port does not learn addresses in this
state and does not participate in frame transfer. The port looks for RSTP traffic in order to determine its role in
the network. When it is determined that the port will play an active part in the network, the state will change to
learning.