Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

MST Instance

Direct answer

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.

When to use this

Use it to give groups of VLANs different roots and forwarding paths, for example one instance per distribution switch.

First 30 seconds

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.

Operational verification

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
Common mistakes
Common MST mistakes
  • 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.
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandshow spanning-tree mst
Scope / prerequisiteUse it to give groups of VLANs different roots and forwarding paths, for example one instance per distribution switch.
Show · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key checks
  • 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

SettingCommand
Bridge priorityspanning-tree mst <id> priority <value>
Root shortcutspanning-tree mst <id> root primary\|secondary
Port costspanning-tree mst <id> cost <n> (interface)
Port priorityspanning-tree mst <id> port-priority <n> (interface)

MSTI versus PVST+

Rapid PVST+MST
TreesOne per VLANOne per instance
BPDUs on a trunkOne per VLANOne per port, all instances inside
Scaling with hundreds of VLANsCPU and BPDU load grow per VLANFixed by the number of instances
Configuration effortNone per VLANRegion 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Confirmation

Confirm action

Continue?