Lab Objective
Configure MST on two switches with matching region parameters, map several VLANs into a single MST instance, and verify both switches agree on the resulting topology while running far fewer independent spanning-tree calculations than PVST+ would require for the same VLANs.
Lab Purpose
PVST+ and Rapid PVST+, covered extensively earlier in this series, run one completely independent spanning-tree instance per VLAN. On a switch with hundreds of VLANs, this consumes significant CPU and memory for topology calculations that are often functionally identical across many VLANs sharing the same physical links. MST solves this by mapping multiple VLANs onto a much smaller number of actual spanning-tree instances.
Lab Topology
Switch1 ---- Gi1/0/1 ---- Switch2
VLANs 10, 20, 30, 40, 50 exist on both
switches, all sharing the same physical
topology and therefore not needing separate
independent spanning-tree calculationsTask 1: Configure the MST Region Parameters
Configure matching MST region name and revision number on both switches, a prerequisite for them to be considered part of the same MST region.
Task 2: Map VLANs to an MST Instance
Map VLANs 10 through 50 into MST instance 1 on both switches.
Task 3: Enable MST Mode
Change the spanning-tree mode to MST on both switches.
Task 4: Verify Both Switches Agree on the Region
Confirm both switches show identical region information, a requirement for them to be treated as the same MST region.
Task 5: Verify a Single Instance Governs All Mapped VLANs
Confirm the port roles and states for MST instance 1 apply uniformly across all five VLANs mapped to it, rather than each VLAN calculating independently.
Solution and Verification
Switch1(config)# spanning-tree mst configuration
Switch1(config-mst)# name REGION1
Switch1(config-mst)# revision 1
Switch1(config-mst)# instance 1 vlan 10-50Switch2(config)# spanning-tree mst configuration
Switch2(config-mst)# name REGION1
Switch2(config-mst)# revision 1
Switch2(config-mst)# instance 1 vlan 10-50
-- The name, revision, and VLAN-to-instance
-- mapping must match EXACTLY between switches
-- for them to be considered the same MST
-- region -- even a minor mismatch causes
-- switches to be treated as separate regionsSwitch1(config)# spanning-tree mode mst
Switch2(config)# spanning-tree mode mstSwitch1# show spanning-tree mst configuration
Name [REGION1]
Revision 1 Instances configured 2
Instance Vlans mapped
-------- -----------------------
0 1-9,51-4094
1 10-50
Switch2# show spanning-tree mst configuration
Name [REGION1]
Revision 1 Instances configured 2
Instance Vlans mapped
-------- -----------------------
0 1-9,51-4094
1 10-50
-- Identical output on both switches confirms
-- they agree on the region -- Instance 0
-- (the mandatory default, called IST) exists
-- automatically for any VLANs not explicitly
-- mapped elsewhereSwitch1# show spanning-tree mst 1
##### MST1 vlans mapped: 10-50
Bridge address 00aa.bb00.1111 priority 32769
Root this switch for MST1
Interface Role Sts Cost Prio.Nbr Type
Gi1/0/1 Desg FWD 20000 128.1 P2p
-- This single MST1 calculation and port
-- role governs all 41 VLANs (10-50) mapped
-- to it -- PVST+ would have required 41
-- separate, independent spanning-tree
-- calculations to achieve the same resultKey Takeaway
MST's core efficiency gain comes from decoupling the number of spanning-tree instances from the number of VLANs — multiple VLANs sharing an identical topology can be mapped to a single instance, and every switch intending to participate in the same MST region must have byte-for-byte matching region configuration (name, revision, and VLAN-to-instance mapping), since even a trivial mismatch causes switches to be treated as separate regions with their own independent boundary calculations.