MST — Multiple Spanning Tree
Cheat sheet · https://pcornel.dk/topic.php?topic=609
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.
Remember
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>.
First 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.
Commands
show spanning-tree mst configuration- Display MST region identity and VLAN-instance mapping.
show spanning-tree mst- Shows MST instance root and port roles/states.
spanning-tree mode mst- Run Multiple Spanning Tree (MST).
spanning-tree mst configuration- Enter MST configuration (region name, revision, VLAN mapping).
name <region-name>- Set the MST region name; it must match on all switches in the region.
revision <number>- Set the MST configuration revision; it must match in the region.
instance <instance> vlan <vlan-list>- Map VLANs to an MST instance.
spanning-tree mst <instance> root primary- Make the switch root for an MST instance.
spanning-tree mst <instance> root secondary- Make the switch backup root for an MST instance.
spanning-tree mst <instance> priority <value>- Set the bridge priority for an MST instance.
show spanning-tree mst <instance>- Display one MST instance.
show spanning-tree mst detail- Display detailed MST information.
clear spanning-tree detected-protocols
Verify in this order
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
Where it usually breaks
physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path
MST region consistency map
| Region attribute | Must match? |
|---|---|
| Region name | Yes |
| Revision | Yes |
| VLAN-to-instance mapping | Yes |
| Physical interface names/speeds | No (but they affect topology/cost) |
| Per-instance root choice | Not a region-membership field |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=609