CCNP · Lesson 3 of 5
MST: How to Group VLANs into Spanning Tree Instances
With Rapid PVST+ every VLAN has its own tree. With 500 VLANs that is 500 trees. MST reduces them to a few.
In a nutshell
MST groups many VLANs into a few Spanning Tree instances. For switches to form the same region they must match name, revision and VLAN mapping.
Why MST
In Rapid PVST+ every VLAN computes its own tree: more CPU and more BPDUs. In practice you only need a few different topologies (for example, half the VLANs through core 1 and the other half through core 2). MST (IEEE 802.1s) lets you create those few instances and assign groups of VLANs to them.
The MST region
Switches sharing the same MST configuration form a region. To be in the same region they must match three things:
- The region name.
- The revision number.
- The complete and exact VLAN-to-instance mapping.
If anything differs, the switches see each other as different regions and connect through the common instance (CST), with less optimal paths.
SW1(config)# spanning-tree mode mst
SW1(config)# spanning-tree mst configuration
SW1(config-mst)# name CAMPUS
SW1(config-mst)# revision 1
SW1(config-mst)# instance 1 vlan 10-19
SW1(config-mst)# instance 2 vlan 20-29
SW1(config-mst)# exit
SW1(config)# spanning-tree mst 1 priority 24576 ← SW1 root for instance 1
SW1# show spanning-tree mst configuration
Name [CAMPUS]
Revision 1 Instances configured 3
Instance Vlans mapped
-------- ---------------------------------
0 1-9,30-4094
1 10-19
2 20-29
Instance 0 (IST)
Instance 0, called the IST, always exists. Every VLAN you do not map to another instance stays in it. The IST is also the one that talks to switches in other regions or running PVST+.
Very common real mistake
Creating a new VLAN on one switch without adding it to everyone's MST mapping. The VLAN falls into instance 0 only on that switch and the mapping no longer matches: the switch leaves the region.
Best practice
Map VLAN ranges in advance (even if they do not exist yet) and, if you use VTPv3, let it copy the MST configuration with vtp primary mst.
What you must remember
- MST groups VLANs into a few STP instances.
- Same region = same name, revision and mapping.
- Unmapped VLANs stay in instance 0 (IST).
- Map ranges in advance so you do not break the region.
Check what you learned
4 exam-style questions. Some have one answer and others ask you to choose several. Answer them all to complete the lesson.