Use it to give groups of VLANs different roots and forwarding paths, for example one instance per distribution switch.
MST Instance
An MST instance (MSTI, numbered 1–4094 on most platforms) is one spanning tree inside a region. Each has its own root and port roles, and carries the VLANs mapped to it.
1. show spanning-tree mst — instances and their roots.
2. Root per instance as designed (often split between two distribution switches)?
3. show spanning-tree mst <n> — forwarding and alternate ports.
4. Adjust with spanning-tree mst <n> priority <value> or per-instance port cost.
5. Confirm VLANs in that instance take the intended uplink.
identical name, revision and mapping → one region → IST computed → each MST instance elects its root → ports get a role per instance → VLANs follow their instance's tree
Context & applicabilityCommon mistakes · platform/version boundaries
- Different name, revision or VLAN mapping on one switch → it forms its own region and boundary ports appear.
- Mapping VLANs to instances that do not exist everywhere.
- Changing the mapping on a live network causes reconvergence on every switch; plan the full mapping up front, including future VLANs.
- Forgetting that instance 0 interacts with switches outside the region.
Operational reference
Fast context before you go deeper.
show spanning-tree mstShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification Verify boundary
show spanning-tree mst configuration shows the name, revision and VLAN-to-instance mapping; it must be identical on every switch in the region, or the switches form separate regions. show spanning-tree mst <n> shows the root and port roles for one instance.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Set a primary and secondary root for each instance (spanning-tree mst <n> priority <value>). Instances exist only inside the region; outside, the whole region looks like one switch on the CIST. Port cost and priority can be set per instance.
show spanning-tree mst configuration— region name, revision and VLAN-to-instance mapping.show spanning-tree mst— root, roles and states per instance.show spanning-tree mst <n>— one instance in detail.show spanning-tree mst interface <if>— the port's role in each instance and whether it is a boundary port.show spanning-tree summary— mode mst.
ReferenceWhat it is1 section · depth on demand
How instances work
MST maps many VLANs to a few instances, so a switch runs a handful of spanning trees instead of one per VLAN.
- Instance 0 (IST) carries all unmapped VLANs and talks to switches outside the region.
- Instances 1–4094 (MSTIs) each have their own root and port roles, which allows load sharing: odd VLANs on one uplink, even VLANs on the other.
spanning-tree mode mst
spanning-tree mst configuration
name CAMPUS
revision 1
instance 1 vlan 10,30,50
instance 2 vlan 20,40,60
Documented example, not captured output.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
An MST instance (MSTI) is a separate spanning tree for a group of VLANs
Instances 1–4094 are MSTIs. Each has its own root bridge, port roles and port states, but none sends its own BPDUs. The Catalyst 9300 guide explains that their information travels as M-records inside the IST's MSTP BPDUs. A region supports up to 65 instances in total.
C9300(config)# spanning-tree mst configuration
C9300(config-mst)# instance 1 vlan 10-19
C9300(config-mst)# instance 2 vlan 20-29
C9300(config-mst)# exit
C9300(config)# spanning-tree mst 1 priority 24576
C9300(config)# interface Te1/1/2
C9300(config-if)# spanning-tree mst 2 cost 1000
C9300# show spanning-tree mst 2 | begin Interface
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Te1/1/1 Altn BLK 2000 128.49 P2p
Te1/1/2 Root FWD 1000 128.50 P2p
Per-instance settings
| Setting | Command |
|---|---|
| Bridge priority | spanning-tree mst <id> priority <value> |
| Root shortcut | spanning-tree mst <id> root primary\|secondary |
| Port cost | spanning-tree mst <id> cost <n> (interface) |
| Port priority | spanning-tree mst <id> port-priority <n> (interface) |
MSTI versus PVST+
| Rapid PVST+ | MST | |
|---|---|---|
| Trees | One per VLAN | One per instance |
| BPDUs on a trunk | One per VLAN | One per port, all instances inside |
| Scaling with hundreds of VLANs | CPU and BPDU load grow per VLAN | Fixed by the number of instances |
| Configuration effort | None per VLAN | Region configuration must match everywhere |
Inside versus outside the region
MSTIs exist only inside a region. At the boundary, all instances follow the IST's topology. A VLAN mapped to instance 2 therefore follows instance 2 inside the region and the CIST outside it.
Documented example, not captured output.
Quick reference
Multiple Spanning Tree (MST) groups many VLANs into a small number of spanning-tree instances. Instead of running a separate tree for every VLAN, as Rapid PVST+ does, switches run one tree per instance, which saves CPU and memory in networks with many VLANs while still allowing load sharing between instances.
MST maps many VLANs to a few spanning-tree instances, reducing CPU load compared with one tree per VLAN (PVST+).
spanning-tree mode mst
spanning-tree mst configuration
name CAMPUS
revision 1
instance 1 vlan 10-19
instance 2 vlan 20-29
spanning-tree mst 1 priority 24576
spanning-tree mst 2 priority 28672
show spanning-tree mst configuration
show spanning-tree mst 1
Instance 0 (IST) carries unmapped VLANs and BPDUs. Use different roots per instance for load sharing across uplinks.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Switching → STP → MST — Multiple Spanning Tree → MST Instance. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%