IEEE STP : 모든 VLAN을 단 하나의 STP 개체로 구현 → CST(Common Spanning Tree) / 공통STP
STP는 시스템 자원의 소모는 적지만 VLAN별 부하분산이 불가능
STP의 단점을 극복하기 위한 것이 VLAN별로 동작하는 PVST+
MST Region(영역) : 동일한 MST 정책을 가지는 스위치 그룹 (아래 항목이 모두 동일해야 함)
MST Name, MST Revision, MST instance 별 소속 VLAN 정보 등
IST (Internal Spanning Tree) : MST 영역 내부에서 동작하는 STP
CST가 MST와 통신을 하기 위한 MST영역을 대표하는 STP개체 : IST (해당 영역 mst 0의 root)
MST 영역 외부에서는 MST 영역 내부의 스위치들이 보이지 않음
MST 영역은 하나의 큰 논리적인 스위치로 보임
MST 영역 간의 관점에서도 MST영역은 하나의 논리적인 스위치로 보임
MST가 구동 하는 전체 네트워크에서는
MST 영역과 비MST스위치 간의 STP 구동에서는 하나의 STP로 전체 VLAN을 관리하는 CST 동작
MST 영역을 대표하는 STP : IST / MST 영역 외부와의 STP인 CST가 동시 작동 → CIST 영역
MST(Multiple Spanning Tree): 여러 VLAN을 그룹화하여 여러 개의 스패닝 트리 인스턴스를 생성하고 관리
MST 영역: MST 프로토콜이 구동되는 스위치들의 집합
비MST 스위치: MST를 사용하지 않는 스위치
CST (Common Spanning Tree): MST 영역과 비MST 스위치 간에 STP가 동작될 때, 전체 VLAN을 하나의 STP로 관리하는 동작 방식, MST 영역 외부의 스위치와 통신할 때 사용
IST (Internal Spanning Tree): MST 영역 내부를 대표하는 스패닝 트리 인스턴스, MST 영역 내의 모든 스패닝 트리 인스턴스(MSTI)를 나타내는 단일 트리
CIST (Common and Internal Spanning Tree): MST 영역 내부를 대표하는 IST와 MST 영역 외부와의 STP인 CST가 동시에 작동하는 영역을 의미. 즉, MST 영역 전체와 외부 네트워크를 연결하는 논리적인 스패닝 트리
SW1(config)#int range g0/0-1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 10,20,30,40
switchport nonegotiate
VLAN 10,20,30,40
spanning-tree mode mst
spanning-tree mst configuration
name A
revision 1
instance 1 vlan 10,30
instance 2 vlan 20,40
### 조회
sh sp
sh sp mst 0
sh sp mst 1
sh sp mst 2
sh sp mst configuration
SW1(config)#spanning-tree mst 1 priority 0
SW1(config)#spanning-tree mst 2 priority 4096
SW2(config)#spanning-tree mst 2 priority 0
SW2(config)#spanning-tree mst 1 priority 4096

각 스위치에 설정
int range g0/0-1 //스위치마다 인터페이스는 다를 수 있음
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 10,20
switchport nonegotiate
VLAN 10,20
int g0/0
sw mo access
sw acc vlan 10
int g0/0
sw mo access
sw acc vlan 20
spanning-tree mode mst
spanning-tree mst configuration
name B
revision 1
instance 1 vlan 10
instance 2 vlan 20
//조회
sh sp
sh sp mst 0 ← 대표 STP : MST 0, VLAN 1
sh sp mst 1
sh sp mst 2
sh sp mst configuration
SW4(config)#spanning-tree mst 1 priority 0
SW4(config)#spanning-tree mst 2 priority 4096
SW5(config)#spanning-tree mst 2 priority 0
SW5(config)#spanning-tree mst 1 priority 4096
span mst 0 priority 0
span mst 0 priority 4096