여러 개의 스패닝트리를 그룹화해 1개의 스패닝트리 처럼 동작하게 하여 프로세서의 소모율을 줄인다.
셋팅
Dispatch_L2_1
spanning-tree mode mst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
spanning-tree vlan 1,10,20,30,40 priority 40960
!
spanning-tree mst configuration
name mst-1
instance 1 vlan 1, 10, 20, 30, 40
!
spanning-tree mst 1 priority 40960
!
!
!
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport mode trunk
!
결과
Dispatch_L2_1#show spanning-tree
mst configuration
Name [mst-1]
Revision 0
Instance Vlans mapped
--------
-------------------------------------------------------------------
0
2-9,11-19,21-29,31-39,41-4094
1 1,10,20,30,40
----------------------------------------------------------------------------
Dispatch_L2_1#show spanning-tree mst 1
Interface
Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- --------
--------------------------------
Fa0/1 Altn BLK 200000 128.1
P2p
Fa0/2
Root FWD 200000 128.2 P2p
Dispatch_L2_2#show spanning-tree mst 1
Interface
Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- --------
--------------------------------
Fa0/1 Desg FWD 200000 128.1
P2p
Fa0/3
Root FWD 200000 128.3 P2p
Dispatch_L3_1#show spanning-tree mst 1
Interface
Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- --------
--------------------------------
Fa0/2 Desg FWD 200000 128.2
P2p Pre-STD-Rx
Fa0/3 Desg FWD 200000 128.3
P2p Pre-STD-Rx