802.1w = Rapid STP (uplinkFast & backbonefast 的功能被嵌入了,相當於自動生效)
802.1s = PVST/PVST+ (per VLAN spanning-tree)
兩者都用VLAN來區分不同產生樹進程
PVST中每個VLAN是一個進程MST自訂進程
MST直接選取與PVST方法相同 ====
相關命令與執行
更改MST根橋選擇 手動更改BID優先順序 - spanning-tree mst 【instance id】priority (lower the better)直接定義為根橋 - spanning-tree mst 【instance id】root 【primary/secondary】
驗證 - sh spanning-tree mst 【instance id】 - sh spanning-tree root
定義MST域 (define the region = name & revision & VLAN association table) 進入mst配置模式 - spanning-tree mst configuration佈建網域名 - name 【region name】配置版本號碼 - revision 【rev-num】配置進程相關VLAN - instance 【ins-id】 vlan 【vlan ids/range】開啟MST - spanning-tree mode mst或者開啟root - spanning-tree mst 【ins-id】root 【primary/secondary】
驗證: - sh spanning-tree mst configuration - sh spanning-tree mst 【ins-id】
強行與鄰居交換器重建立立鄰居關係(拓撲改動時) - clear spanning-tree detected-protocols 【interface interface-id】
註:VTP ver3.0可以協助MST在vtp域裡配置mst,這樣在switch較多的情況下可以使用(VTP3.0 support MST database propagation separate from the vlan databse)