11-3
Catalyst2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter11 Configuring RSTP and MSTP Understanding RSTP
To be consistent with Cisco STP implementations, this guide documents the port state as blocking
instead of discarding. Designated ports start in the listening state.
Rapid Convergence
The RSTP provides for rapid recovery of connectivity following the failure of switch, a switch port, or
a LAN. It provides rapid convergence for edge ports, new root ports, and ports conn ec te d th rou gh
point-to-point links as follows:
Edge portsIf you configure a port as an edge port on an RSTP switch by using the spanning-tree
portfast interface configuration command, the edge port immediately transitions to the forwarding
state. An edge port is the same as a Port Fast-enabled port, a nd you sh ould e nab le it on ly on port s
that connect to a single end station.
Root portsIf the RSTP selects a new root port, it blocks the old roo t po rt and i mmed iat ely
transitions the new root port to the forwarding state.
Point-to-point linksIf you connect a port to another port through a point-to-point link an d the local
port becomes a designated port, it negotiates a rapid transition w ith t he o th er p ort by usi ng the
proposal-agreement handshake to ensure a loop-free topology.
As shown in Figure 11-1, Switch A is connected to Switch B through a point-to-point link, and all
of the ports are in the blocking state. Assume that the priority of Switch A is a smaller numerical
value than the priority of Switch B. Switch A sends a proposal message (a configuration bridge
protocol data unit [BPDU] with the proposal flag set) to Switch B, proposing itself as the designated
switch.
After receiving the proposal message, Switch B selects as its new root port the port from which the
proposal message was received, forces all nonedge ports to the bloc king stat e, an d s en ds an
agreement message (a BPDU with the agreement flag set) through its new root port.
After receiving Switch Bs agreement message, Switch A also immediately transitions its designated
port to the forwarding state. No loops in the network are formed because Switch B blocked all of its
nonedge ports and because there is a point-to-point link b etwee n Switc hes A an d B.
When Switch C is connected to Switch B, a similar set of handshak ing m essag es ar e exchan ged.
Switch C selects the port connected to Switch B as its root port, and both ends immediately
transition to the forwarding state. With each iteration of this handshaking process, one more switch
joins the active topology. As the network converges, this proposal-agreement handshaking
progresses from the root toward the leaves of the spanning tree.
The switch determines the link type from the port duplex mode: a full-duplex port is considered to
have a point-to-point connection; a half-duplex port is considered to have a shared co nnection. You
can override the default setting that is determined by the duplex setting by using the spanning-tree
link-type interface configuration command.
Enabled Forwarding Forwarding Yes
Disabled Disabled Discarding No
Table11-1 Port State Comparison (continued)
Operational Status STP Port State RSTP Po rt State Is Port Included in the
Active Topology?