Professional Documents
Culture Documents
2b Rapid STP
2b Rapid STP
INDICE
2
Rapid Spanning Tree Protocol
(RSTP)
IEEE 802.1w
BIBLIOGRAFÍA
W. Wojdak , “Rapid Spanning Tree Protocol: A new solution from
an old technology” CompactPCI Systems -2003
(PDF en web asignatura)
4
RSTP IEEE 802.1w
01 02
111 Bloqueado
111,0
03 04
Designated
Port-ID
01 02 01 02 Root
Bridge-ID
222 333 Cost
111,10 111,10
03 04 03 04 Edge
Root-ID
01 02
444 Objetivo de RSTP = mejorar los tiempos
de reconfiguración del árbol
111,20
03 04
STP [segundos … un minuto]
RSTP [menos de 1 seg … pocos seg.]
Figura 1 5
PORT STATUS & ROLE: DIFERENCIAS
111 Root
111,0
03 04
01 02 Alternate Port
222
111,10
03 04
Backup Port
Figura 3 Figura 4
7
ROL DE LOS PUERTOS
Una vez el algoritmo RSTP converge a un estado estable, el rol de los
puertos queda determinado de la siguiente manera:
Switch ID
A
Port # 1 2 3 4 5
1 2 1 2 3 4
C B
3 4 5 6
1 2
1 2
D
9
ROL PUERTOS
Estado Rol
forwarding r root port
Solución: d designated port
A
blocking a alternate port
b backup port
1 2 3 4 5
d d b d
d
Active link
r a r a a a
1 2 1 2 3 4
C B
3 4 5 6
a a d b
1 2
Inactive link
r a
1 2
D
10
FORMATO DE LAS BPDUs
Prácticamente el mismo que el de STP.
Diferencias:
STP usa sólo 2 bits del campo “flags”: TC y TCA
RSTP usa 4 bits para codificar ROL y ESTADO del puerto que manda la DPDU
y 2 bits para manejar el mecanismo proposal/agreement.
BPDU
STP RSTP
Protocol identifier 0 0
version 0 2
menssage type 0/128 2 (sólo existe el de configuración)
TCA, reserved, TC
root-ID
cost
bridge-ID
port-ID
message age 00 Unknown
max. Age 01 Alternate/Backup
10 Root
hello time 11 Designated
forward delay
11
DIFERENCIAS OPERATIVAS STP - RSTP
12
01 02 01 02
STP vs RSTP 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,30 111,10
03 04 03 04 03 04 03 04
13
SYNC operation
Designated + Discarding port
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. 14
PROPOSAL/AGREEMENT SEQUENCE
edge
alternate designated
In order to illustrate the effect of the sync Once p0 receives that agreement, it can
mechanism on different kind of ports, suppose there immediately transition to the forwarding state.
exists an alternate port p2, a designated forwarding This is step 4 of the preceding figure. Notice
port p3, and an edge port p4 on Switch A. Notice that port p3 is left in a designated discarding
that p2 and p4 already meet one of the criteria. In state after the sync. In step 4, that port is in the
order to be in sync (see step 2 of the preceding exact same situation as port p0 is in step 1. It
diagram), Switch A just needs to block port p3, and then starts to propose to its neighbor, and
assign it the discarding state. Now that all of its ports attempts to quickly transition to the forwarding
are in sync, Switch A can unblock its newly selected state.
root port p1 and send an agreement message to
reply to the root. 15
PROPOSAL SYNC AGREENMENT
proposal agreenment
proposal
sync
alternate edge
designated
16
APÉNDICE: FAULT FINDER: IDENTIFYING CABLE PROBLEMS WITH VCT
In this article, we'll explore a new technology
for detecting faults on cable lines that is built
directly into the Ethernet PHY
17
http://www.commsdesign.com/showArticle.jhtml;jsessionid=WHFVZMH04YV0YQSNDLPCKH0CJUNN2JVN?articleID=16505651