Multiple Spanning Tree Protocol
๊ทธ๋์ ํ์ตํ STP์ RSTP๋ VLAN ํ๋ ๋น 1๊ฐ์ ์คํจ๋ ํธ๋ฆฌ๊ฐ ๋์ํ๋ค. VLAN์ด 200๊ฐ๋ผ๋ฉด, 200๊ฐ์ ์คํจ๋ ํธ๋ฆฌ๊ฐ ๋์๊ฐ๋ค๋ ์๋ฏธ์ด์ 2์ด๋ง๋ค 200๊ฐ์ BPDU๋ฅผ ์์ ํ๋ค๋ ์๋ฏธ์ด๋ค.
์ ์ง Switch์ ๋ถ๋ด์ด ๊ฐ์ง ์์๊น ์ถ๋ค..
๋คํํ ์ด๋ฐ ๋ฌธ์ ์ ์ ํด๊ฒฐํ๊ธฐ ์ํด ๋์จ ํ๋กํ ์ฝ์ด ์์ผ๋,,
์ด๋ฆํ์ฌ MSTP๋ค. ์ฌ๋ฌ ๊ฐ์ VLAN์ ๋ฌถ์ด ํ๋์ ์คํจํ
ํธ๋ฆฌ๋ง ๋์๋๋๋ก ํ๋ ๊ฒ์ด๋ค.
VLAN ๋ฌถ๋๋ค๋ฉด ๋ฌถ์ธ VLAN์ ์
๋ ํ์ํ ๋จ์๊ฐ ์์๊ฑฐ๊ณ , ์ฌ๋ฌ ๊ฐ์ Switch ์ค ํ๋๋ ๋ํ ์ญํ ์ ํด์ผํ ๊ฒ์ด๋ค. ๊ทธ๋์ผ ๊ด๋ฆฌํ๊ธฐ ์ฌ์ธ ํ
๋ ๋ง์ด๋ค.
1. MSTP ๋จ์
VLAN ์ฌ๋ฌ ๊ฐ๋ฅผ ๋ฌถ์ผ๋ฉด, Instance
Instance ์ฌ๋ฌ ๊ฐ๋ฅผ ๋ฌถ์ผ๋ฉด, Region
Instance ๋น 1๊ฐ์ ์คํจ๋ ํธ๋ฆฌ๊ฐ ๋์ํ๋ค.
์ฐธ๊ณ ๋ก, ๋์ผ VLAN ๋ฒํธ์ผ์ง๋ผ๋ ์๋ก ๋ค๋ฅธ Instance์ ์ํ ์ ์๋ค.

2. CIST์ MSTI
MSTP์๋ 2๊ฐ์ง ์คํจ๋ ํธ๋ฆฌ๊ฐ ์ฌ์ฉ๋๋ค.
CIST
Common and Internal Spanning Tree
์ ์ฒด Switch ๋คํธ์ํฌ๋ฅผ ๋ฃจํ์์ด ์ฐ๊ฒฐํ๋ ๋ชฉ์ ์ ๊ฐ๊ณ ์๋ค.
์ ์ฒด Switch ๋คํธ์ํฌ์ ํต์ ๊ฒฝ๋ก๋ฅผ ์ค์ ํ๋ค.
CIST Root Switch – 1๊ฐ
CIST Regional Root Switch – Region๋ณ 1๊ฐ
MSTI
Multiple Spanning Tree Instance
Region์ ๊ฐ Instance ํต์ ๊ฒฝ๋ก๋ฅผ ์ค์ ํ๋ค.
Root Switch – MST Instance๋ณ 1๊ฐ
3. MSTP ๋์๊ณผ์
CIST ์คํจ๋ ํธ๋ฆฌ์ ๋์ ๊ณผ์
- ๊ฐ Switch๋ ํน์ VLAN ID๋ฅผ ํน์ MSTI์ ํ ๋นํ๋ ‘MST Configuration ID’๋ฅผ ๊ด๊ณ ํ๋ค.
- Bridge ID์ Path Cost๋ฅผ ์ด์ฉํด CIST๋ฅผ ๊ตฌ์ฑํ๋ค.
โ ์ ์ฒด LAN์์ ‘CIST Root Switch’ 1๊ฐ ์ ํ
โก ๊ฐ Switch์ LAN์์ CIST Root๊น์ง์ ์ต์๊ฐ ๊ฒฝ๋ก ์ ํ
์ฌ๊ธฐ์ ๊ฐ Region ๋ณ๋ก CIST Root๊น์ง ์ต์ ๊ฒฝ๋ก๊ฐ์ ๊ฐ๋ Switch๊ฐ ‘CIST Regional Root Switch’๊ฐ ๋๋ค.
CIST์ ํฌํธ ์ญํ
– CIST Root Port: CIST Regional Root Switch๋ฅผ ํตํด CIST Root Switch๋ก ๊ฐ๋ ์ต์ ๊ฒฝ๋ก๊ฐ์ ๊ฐ์ง ํฌํธ
– CIST Designated Port: ์ ์๋ LAN์์ CIST Root Switch๊น์ง ์ต์ ๊ฒฝ๋ก๊ฐ์ ๊ฐ์ง ํฌํธ
– CIST Alternate Port / Backup Port: ํ Switch / ํฌํธ ๋๋ LAN์ ์ฅ์ ๊ฐ ๋ฐ์ํ์ ๋ ์ฌ์ฉ๋๋ ํฌํธ
CIST์ ํน์ง
๋ชจ๋ Switch๋ฅผ ํ๋์ ๋คํธ์ํฌ๋ก ์ฐ๊ฒฐํ๋ค.
(=๊ฐ Region์ ํ๋๋ก ์ฐ๊ฒฐํ๋ค.)
์์ญ๋ด๋ถ ๊ฒฝ๋ก๊ฐ ์์ญ์ธ๋ถ ๊ฒฝ๋ก๋ณด๋ค ์ฐ์ ๋๋ค.
MSTI ์คํจ๋ ํธ๋ฆฌ์ ๋์ ๊ณผ์
- ๊ฐ Region์์ MSTI Root Switch 1๊ฐ๋ฅผ ์ ํํ๋ค.
- ๊ฐ Switch์์ MSTI Root๋ก ๊ฐ๋ ์ต์ ๊ฒฝ๋ก๊ฐ์ ์ ํํ๋ค.
MSTI์ ํฌํธ ์ญํ
– MSTI Root Port: MSTI Root Switch๊น์ง ์ต์ ๊ฒฝ๋ก๊ฐ์ ๊ฐ์ง ํฌํธ
– MSTI Designated Port: ์ ์๋ LAN์์ MSTI Root Switch๊น์ง ์ต์ ๊ฒฝ๋ก๊ฐ์ ๊ฐ์ง ํฌํธ
– MSTI Master Port: Region ์ธ๋ถ์ ์๋ CIST Root Switch์ ์ฐ๊ฒฐ๋ ํฌํธ
– MSTI Alternate Port / Backup Port: ํ Switch/ํฌํธ ๋๋ LAN์ ์ฅ์ ๊ฐ ๋ฐ์ํ์ ๋ ์ฌ์ฉ๋๋ ํฌํธ
4. MSTI BPDU

MSTP BPDU์ด๋ฏ๋ก
– Protocol Version ID๋ 3, BPDU Type์ 2์ด๋ค.
– Flags (CIST Flag): RSTP์ Flag์ ๋์ผํ Flag ๊ฐ์ ๊ฐ์ง๋ค.
– CIST Root ID: ์ ์ฒด Switch ๋คํธ์ํฌ์ Root Switch ID
– CIST Path Cost: CIST ์ธ๋ถ์ Root Switch๊น์ง์ ๊ฒฝ๋ก๊ฐ
– Bridge ID:
MSTP์ผ ๋, CIST Regional Root Switch ID
RSTP/STP์ผ ๋, Designated Switch ID
– MST Configure ID: ๋์ผ VLAN์ ์์๋ Switch๋ค๋ผ๋ฆฌ๋ VLAN ๋ฒํธ์ Instance ๋งคํ ์ ๋ณด๊ฐ ๋์ผํด์ผํ๋ค. ์๋์ ๋ด์ฉ์ ๋ด๊ณ ์๋ค.
Selector(1 Byte): ํญ์ ๊ฐ 0
Configuration name(32 Byte): ๊ฐ๋ณ
Revision level(2 Byte)
Configuration Digest(16 Byte): MSTP Configuration Table๋ก๋ถํฐ ์์ฑ๋ MD5 Signature.
– CIST Bridge ID: BPDU๋ฅผ ์ ์กํ๋ Switch์ Bridge ID
– MSTI Configuration Messages: Region ๋ด Instance ๋ณ๋ก ์คํจ๋ํธ๋ฆฌ๋ฅผ ๊ณ์ฐํ ๋ ์ฌ์ฉํ๋ค.
5. MSTP ์ค์
[๊ธฐ๋ณธ MSTP ์ค์ ]
Switch(config)# spanning-tree mode mst Switch(config)# spanning-tree mst configuration Switch(config-mst)# name <name> Switch(config-mst)# instance <INSTANCE_NUM> vlan <VLAN_NUM> Switch(config-mst)# instance 1 vlan 101-102 #(์์)# Switch(config-mst)# revision 1 Switch(config-mst)# exit
[MSTP ์ฐ์ ์์ ์ค์ ]
Switch(config)# spanning-tree mst 0 priority 0 Switch(config)# spanning-tree mst 1 priority 0
1: CIST Root Switch ์ค์
2: Instance 1์ Root Switch ์ค์
[MSTP ์ค์ ํ์ธ]
Switch# show spanning-tree mst 0 Switch# show spanning-tree mst 1(or 2)
1: CIST ์คํจ๋ ํธ๋ฆฌ ๋์ ํ์ธ
2: MSTI ์คํจ๋ ํธ๋ฆฌ ๋์ ํ์ธ