Professional Documents
Culture Documents
2B-Rapid STP - 2019 - EN
2B-Rapid STP - 2019 - EN
IEEE 802.1W
BIBLIOGRAPHY
2
RAPID SPANNING TREE PROTOCOL (RSTP) IEEE 802.1W
01 02
111 Blocked
111,0
03 04
Designated
Port-ID
01 02 01 02 Root
222 333 Bridge-ID
Cost
111,10 111,10
03 04 03 04 Edge
Root-ID
01 02
444 RSTP goal = improve the tree
reconfiguration time
111,20
03 04
STP à seconds … one minute
RSTP à less than 1 sec … few sec.
Figure 1 3
PORT STATUS & ROLE: DIFFERENCES
Port role
STP RSTP
backup
Root port same
Designated port same
Blocking port Backup or Alternate alternate alternate
“RSTP splits the Blocking Port role into Towards the top hierarchy in the tree
Backup and Alternate port roles” (alternative root port)
4
BACKUP VS ALTERNATE PORTS
01 02
111 Root
111,0
03 04
01 02 Alternate Port
222
111,10
03 04
Backup Port
Figure 3 Figure 4
5
DETERMINING PORT STATES
¡ Once the RSTP algorithm converges to a steady-state, mapping messages
(BPDUs) to port states can be done as follows:
On each bridge do:
If my Bridge ID is the lowest à I am the root and all my ports are “designated”
(Exception: more than one port connected to the same LAN à Higher port
numbers are blocked and become backup ports)
Remaining bridges:
- the port where the best message is received becomes the root port
- those ports where my Tx message is better than the messages received on
that port become designated
- the remaining ports are blocked, and are classified as follows:
- If better messages are received from another bridge, the port assumes the role of
alternate port
- If better messages are received from the same bridge, the port assumes the role of
backup port
6
DETERMINING PORT STATES
7
DETERMINING PORT STATES
¡ Example:
Switch ID
A
Port # 1 2 3 4 5
Exercise:
Indicate the role of all ports
in steady-state.
1 2 1 2 3 4
C B
3 4 5 6
1 2
1 2
D
8
BPDU FORMAT
The STP BPDUs use only two flags:
Topology Change (TC) and TC Acknowledgement (TCA).
RSTP uses six additional bits to encode the role and the
Configuration state of the port originating the BPDU, and two flags to handle the
msg proposal/agreement mechanism.
Protocol identifier 0
version 0à 2
menssage type X à Only the configuration message exists
TCA, reserved, TC
root-ID
cost
bridge-ID
port-ID
message age
max. Age
hello time 00 Unknown
forward delay 01 Alternate/Backup port
10 Root port
11 Designated port
10
STP – RSTP: OPERATIVE DIFFERENCES
q Topology changes
q Topology changes 1) TC in BPDU to neighbors (flooding)
1) TC to Root and from Root to 2) No TimeOut à immediate delete
leaves (sec) 3) Alternate à immediate root port
2) Short timeout (+sec)
q Edge Port checking
3) Forward delay (+15+15)
Edge Ports always in the Forwarding state
11
01 02 01 02
111 111
111,0 111,0
03 04 03 04
01 02 01 02 01 02 01 02
222 333 222 333
111,10 111,10 111,10 111,10
03 04 03 04 03 04 03 04
12
LINK UP EXAMPLE
13
LINK UP EXAMPLE
14
LINK UP EXAMPLE
P1
q The final network topology is reached, just in the time necessary for the new BPDUs
to travel down the tree. No timer is involved in this quick convergence.
q The only new mechanism introduced by RSTP is the acknowledgment that a switch
can send on its new root port in order to authorize immediate transition to the
forwarding state
q Compared to 802.1D, it bypasses the twice-the-forward-delay long listening and
learning state bridge to put its port in the forwarding state.
15
APPENDIX: FAULT FINDER: IDENTIFYING CABLE PROBLEMS WITH VCT
16
http://www.commsdesign.com/showArticle.jhtml;jsessionid=WHFVZMH04YV0YQSNDLPCKH0CJUNN2JVN?articleID=16505651