基本介紹
- 外文名:uplinkfast
- 類型:交換機
- 背景:確保了在拓撲變化
- 屬性:連線埠配置
- 配置:基於SETswitchuplink-fast
定義,簡介,
定義
簡介
配置方法:
Switch(config)#spanning-tree uplinkfast
Switch(config)#[no] spanning-tree uplinkfast [max-update-rate max_update_rate]
Switch#show spanning-tree uplinkfast
①. 背景資料:STP確保了在拓撲變化的情況下沒有環路產生,但收斂速度慢。一些實時以及對頻寬敏感的網路套用是不能接受的。
②. STP收斂速度慢的原因是收斂算法需要一些時間來確定一條可替代的鏈路,預設時間是50s,即20s(Blocking→Listening)+15s(Listening→Learning)+15s(Learning→Forwarding)。
③. 解決的方法是一旦發現了線路down,馬上把Blocking的port切換到Forwarding,不要經過Listening和Learning階段。這就是UplinkFast,切換時間可以在2s~4s。
④. UplinkFast激活一個快速重新配置的條件:
A. 在交換機上必須啟動了UplinkFast功能;
B. 至少有一個處於Blocking的連線埠(即有冗餘鏈路);
C. 鏈路失效必須發生在Root Port上。
⑤. 交換機啟動了UplinkFast後,由於提高了交換機上所有連線埠的路徑開銷,所以不適合作為根橋。
The spanning tree port cost and port-VLAN cost of all ports on the switch is increased by 3000.
The spanning tree bridge priority for all VLANs is set to 49152. This makes it unlikely that the switch will become the root switch.