Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

MST — Multiple Spanning Tree

Direct answer

MST (802.1s) maps many VLANs to a few spanning-tree instances. Switches with the same region name, revision number and VLAN-to-instance mapping form one region; instance 0 (IST) also connects to other regions and to PVST+ switches.

When to use this

Use it in large switched networks with many VLANs, where one tree per VLAN costs too much CPU, or to interoperate with non-Cisco switches.

First 30 seconds

1. show spanning-tree mst configuration on neighbouring switches — name, revision and mapping identical?

2. show spanning-tree mst interface <if> — Boundary on an internal link → region mismatch.

3. show spanning-tree mst <n> — root per instance as designed?

4. VLAN in the wrong instance → it follows another tree.

5. Change the configuration identically on all switches, in a maintenance window.

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

Failure signatureMST switches act as separate regions and block unexpected links

Links between MST switches block or forward unexpectedly and convergence is slow after changes.

Possible stored cause: Region name, revision or VLAN-to-instance mapping differs between switches, so they are in different MST regions.
Context & applicabilityCommon mistakes · platform/version boundaries
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 · IOS/IOS XE
Key commandspanning-tree mode mst
Scope / prerequisiteUse it in large switched networks with many VLANs, where one tree per VLAN costs too much CPU, or to interoperate with …
Show · 3Reference · 9
What next?3 suggested next steps
Child topics (this level)7
Catalog command links12
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

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.

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

Links between MST switches block or forward unexpectedly and convergence is slow after changes.

Step 1 Verification and output interpretation Verify boundary

Use show spanning-tree mst configuration to compare the exact region name, revision, mapping and digest-sensitive state, then show spanning-tree mst to inspect roots, root ports, roles and costs per instance. Do not stop after confirming that an instance number exists locally; verify that neighboring switches consider each other part of the same region and that the intended VLANs are mapped to the intended instance. For path validation, pick a representative VLAN from each important instance and confirm that the instance root/path produces the expected physical forwarding direction. If two adjacent switches unexpectedly behave as a boundary, compare all three region-identity components character-for-character and verify mapping ranges.

Step 2 MST troubleshooting order Narrow the fault

1. Compare region configuration. 2. Map the affected VLAN to its MST instance. 3. Check the root and roles for that instance. 4. Inspect region-boundary/CIST behavior only after same-region consistency is established.

Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Any difference in name, revision or mapping makes a switch its own region, which breaks load balancing and can block unexpected links. Map VLANs to instances before creating the VLANs, configure the same MST block on every switch, and set the root per instance with spanning-tree mst <n> priority <value>.

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

What it is

Multiple Spanning Tree (MST, IEEE 802.1s integrated into 802.1Q) maps many VLANs to a smaller number of spanning-tree instances, reducing per-VLAN control-plane scale while allowing multiple forwarding topologies.

ReferenceHow it works1 section · depth on demand

How MST works

Instances. VLANs are grouped into instances; each instance is one spanning tree with its own root and its own blocked ports. Instance 0 always exists and contains every VLAN not assigned to another instance.

Region. Switches that share the same MST configuration form a region. The configuration has three parts, and all three must be identical on every switch:

spanning-tree mst configuration
 name CAMPUS
 revision 1
 instance 1 vlan 10-19
 instance 2 vlan 20-29
!
spanning-tree mode mst

A switch whose name, revision or VLAN mapping differs is treated as being outside the region. The link to it becomes a boundary, and the separate instances do not extend across it.

Roots. Each instance gets its own root, which is how load is shared across uplinks:

! on the first core switch
spanning-tree mst 1 root primary
spanning-tree mst 2 root secondary
! on the second core switch
spanning-tree mst 1 root secondary
spanning-tree mst 2 root primary

Outside the region. To other regions and to switches running other spanning-tree variants, the whole region behaves like a single switch, represented by instance 0.

Planning. Because changing the VLAN mapping takes a switch out of the region until every switch has the same change, the mapping is best decided once, in advance — including VLANs that do not exist yet. And since all VLANs in an instance follow the same path, every trunk must carry all the VLANs of the instances that forward on it.

ReferenceImportant terms & boundaries4 sections · depth on demand

MST region contract

Switches are in the same MST region only when the region name, revision and VLAN-to-instance mapping match. Cisco output may show digest-related information representing this configuration. A mismatch creates an MST boundary even when both switches are configured for MST mode.

In depth

MST (IEEE 802.1s): a few spanning-tree instances for many VLANs

MST maps VLANs to a small number of instances, so the switch runs a few spanning trees instead of one per VLAN. The Catalyst 9300 MST guide documents these points:

ItemDetail
Enablespanning-tree mode mst (also enables RSTP); changing mode disrupts traffic
CoexistenceMST can't run alongside PVST+ or Rapid PVST+ on the same switch
RegionSame name (case sensitive, up to 32 characters), revision (0–65535) and VLAN-to-instance map
InstancesUp to 65 per region; a VLAN belongs to one instance
Instance 0 (IST)The only instance that sends BPDUs; other instances travel as M-records inside them
C9300(config)# spanning-tree mst configuration
C9300(config-mst)# name CAMPUS-A
C9300(config-mst)# revision 3
C9300(config-mst)# instance 1 vlan 10,30,50
C9300(config-mst)# instance 2 vlan 20,40,60
C9300(config-mst)# show pending
Pending MST configuration
Name      [CAMPUS-A]
Revision  3     Instances configured 3
Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         1-9,11-19,21-29,31-39,41-49,51-59,61-4094
1         10,30,50
2         20,40,60
C9300(config-mst)# exit
C9300(config)# spanning-tree mode mst
C9300(config)# spanning-tree mst 1 root primary
C9300(config)# spanning-tree mst 2 root secondary
C9300# show spanning-tree mst 1

Region consistency

Two switches with any difference in name, revision or mapping are in different regions. They then meet at a boundary and run only the common instance between them, so the intended load sharing is lost. Change the MST configuration the same way, in the same window, on every switch in the region.

IST, CIST and boundaries (from the guide)

TermMeaning
ISTInstance 0 inside a region
CSTThe tree connecting regions and legacy STP switches
CISTThe regional ISTs plus the CST
Boundary portA port towards another region, RSTP, PVST+ or Rapid PVST+

The guide notes that MST doesn't revert to MST BPDUs automatically after legacy BPDUs stop; use clear spanning-tree detected-protocols. For load balancing between a PVST+ domain and an MST region, all MST boundary ports must be forwarding.

When to choose MST

Large numbers of VLANs, multi-vendor networks, or a switch near the per-VLAN instance limit.

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.

State model and protocol mechanics

Multiple Spanning Tree reduces per-VLAN control-plane state by mapping VLANs to MST instances. The region is a logical administrative boundary: devices with the same region name, revision and VLAN-to-instance mapping calculate the same configuration digest and can treat the internal topology consistently. Instance 0 is the Internal Spanning Tree and participates in the Common and Internal Spanning Tree view toward external spanning-tree domains. Additional MST instances can choose different roots and forwarding paths, allowing groups of VLANs to use different topologies without maintaining a separate tree for every VLAN. VLANs not explicitly mapped remain in the default instance context. Region boundaries matter because an internal multi-instance topology is represented more coarsely outside the region.

Limits and common misconceptions

Matching revision numbers do not show matching regions, and a higher revision does not win an election. A VLAN can exist while being mapped to an unintended MST instance. An MST instance can be healthy internally while traffic still fails because VLAN trunking or Layer 3 state above it is wrong. Region boundaries are not automatically errors; they can be intentional, but they change what topology information is represented across that edge. Avoid interpreting CIST/IST state as if it directly describes every VLAN independently. The useful hierarchy is VLAN → MST instance mapping → instance root/path inside region → CIST interaction at region boundary → actual trunk/VLAN forwarding.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Treat the MST region configuration as a single distributed configuration object. Name, revision and mapping must be changed deliberately and consistently across every intended region member; a revision number by itself does not imply newer or preferred configuration. Build instance mappings around real traffic/path requirements rather than arbitrary VLAN grouping, and place instance roots according to the physical topology and desired load distribution. Before remapping production VLANs, consider the temporary region-boundary behavior that can occur while switches disagree. Keep the number of instances operationally reasonable and document which VLAN set each instance owns. Features such as PortFast, BPDU Guard, Root Guard and Loop Guard still need to align with the physical role of ports.

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. 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%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
mstp
Embedded reference data

Quick lookup tables

MST region consistency map

Fields that must match for one MST region

Region attributeMust match?
Region nameYes
RevisionYes
VLAN-to-instance mappingYes
Physical interface names/speedsNo (but they affect topology/cost)
Per-instance root choiceNot a region-membership field

MST — Multiple Spanning Tree · operational reference

Compact state and interpretation boundaries for fast lookup.

Region identity inputMust match?Important note
Region nameYesExact administrative identity
RevisionYesEquality matters; higher is not newer/preferred
VLAN-to-instance mappingYesMapping changes the digest/region membership
Instance root priorityNoControls topology, not region identity
Confirmation

Confirm action

Continue?