1. Rapid STP(RSTP)-IEEE 802.1w
2. RSTP某些地方與STP運作的方式相同(a~c):
a. 使用優先權和評分來選出root switch
b. 使用相同規則選出非根switch上的RP(root port)
c. 使用相同規則選出DP
d. 完成收斂後,每一port不是Forwarding就是Blocking狀態
(RSTP之Blocking status稱為Discarding status)
3. RSTP優於STP在於收斂,RSTP之hello time僅需6秒(STP需20秒),另外也消除了Listening and Learning time的轉送延遲時間(15+15,共30秒)
4. RSTP用於點對點link架構與edge架構,有明顯改善,但因為無法用於有接hub的網路架構,故無法對於共享式link網路架構不會有改善幫助。
5. RSTP and STP Port Status
運作的狀態
|
STP狀態
(802.1d)
|
RSTP狀態
(802.1w)
|
是否在此狀態下轉送資料訊框
|
active
|
Blocking
|
Discarding
|
N
|
active
|
Listening
|
Discarding
|
N
|
active
|
Learning
|
Learning
|
N
|
active
|
Forwarding
|
Forwarding
|
Y
|
close
|
close
|
Discarding
|
N
|
6. RSTP and STP Port Role
RSTP Role
|
STP Role
|
定義
|
root port
|
root port
|
每一台非根交換器上,從所有接收的BPDU中聽到最佳的BPDU之單一的埠
|
designated port
|
designated port
|
在所有交換器上,所有連接到相同區段/碰撞領域的交換埠之中,宣傳最佳BPDU的埠
|
alternate port
|
-
|
交換器上收到次佳BPDU的埠
|
backup port
|
-
|
交換器上連接到相同區段/碰撞領域的非委任埠,和相同交換器上另一個埠一樣
|
disabled
|
-
|
因管理性的關閉,或是其他原因而無法運作的一個埠
|
7. RSTP收斂的主要關鍵:交換器知道它需要改變成新的根埠,它把所有其他的線路封鎖住,協商的結果就是將新的根埠變成Forwarding狀態。
8. Setting RSTP
每台switch設定全域命令-spanning-tree mode rapid-pvst,可啟動RSTP以及PVRST。