Sim 02: MST Regions and Instances¶
Blueprint 3.1.c · Difficulty: Medium · Time target: 15 minutes
The campus runs Rapid PVST+ with 30 VLANs and the team wants fewer spanning-tree instances. Migrate the three switches to MST so that the two distribution switches share the load and the access switch sits in the same region.
Download the lab
CML lab file · EVE-NG lab file
4 nodes. The lab boots in its starting configuration. CML: Import a lab, then start it. EVE-NG: import the .unl from the lab list; if your image folder names differ, edit each node's image.
Topology¶
graph TB
D1["DIST1"]
D2["DIST2"]
A1["ACC1"]
H1["Host1 VLAN 10"]
D1 -- "Gi0/0 to Gi0/0 trunk" --- D2
D1 -- "Gi0/1 to Gi0/1 trunk" --- A1
D2 -- "Gi0/1 to Gi0/2 trunk" --- A1
A1 -- "Gi1/0 access VLAN 10" --- H1
| Node | CML image |
|---|---|
| DIST1, DIST2, ACC1 | IOSvL2 |
| Host1 (optional) | Alpine or Ubuntu |
Pre-configured state¶
- VLANs 10, 20, 30 and 40 exist on all three switches.
- All inter-switch links are static 802.1Q trunks and are up.
- DIST1 and DIST2 run Rapid PVST+.
- A colleague started the migration on ACC1 and already enabled MST there with a region configuration.
- ACC1 Gi1/0 is an access port in VLAN 10.
Starting configuration¶
hostname ACC1
!
vlan 10,20,30,40
!
spanning-tree mst configuration
name campus
revision 1
instance 1 vlan 10, 20
instance 2 vlan 30, 40
!
spanning-tree mode mst
!
interface range GigabitEthernet0/1 - 2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0
switchport mode access
switchport access vlan 10
end
Tasks¶
- Configure all three switches to run MST in a single region named CAMPUS (upper case), revision 1.
- Map VLANs 10 and 20 to MST instance 1 and VLANs 30 and 40 to MST instance 2. All other VLANs stay in instance 0 (the IST).
- Make DIST1 the root bridge for instances 0 and 1, and the backup root for instance 2.
- Make DIST2 the root bridge for instance 2, and the backup root for instances 0 and 1.
- Set explicit bridge priorities: 24576 for a root and 28672 for a backup root.
- On ACC1, configure Gi1/0 so that it moves straight to forwarding and is err-disabled if it ever receives a BPDU.
Constraints¶
- Do not use the
spanning-tree mst ... root primaryorroot secondarymacros. Set priorities directly. - Do not change any trunk or VLAN configuration.
- Do not use the global
spanning-tree portfast defaultorbpduguard defaultcommands. Configure ACC1 Gi1/0 only.
Solution
What was wrong on ACC1: the region name was campus. MST region names are case sensitive, so ACC1 would sit in a different region from the distribution switches and its uplinks would be region boundary ports. All three attributes (name, revision and the full VLAN-to-instance map) must match exactly.
Changes inside spanning-tree mst configuration are applied when you leave the submode. Configure the region before you change the mode, so the switch does not briefly run MST with an empty region.
Priorities must be multiples of 4096. On an access port, spanning-tree portfast is enough. spanning-tree portfast edge is the same feature with the newer keyword on releases that support it.
Exam trap
The region name is case sensitive and the revision number is not incremented for you. A switch whose name, revision or VLAN map differs by a single character is in its own region, and everything still "works", so the only clue is the boundary port type in show spanning-tree mst.
Verification
Name [CAMPUS]
Revision 1 Instances configured 3
Instance Vlans mapped
-------- ---------------------------------------------------------------------
0 1-9,11-19,21-29,31-39,41-4094
1 10,20
2 30,40
##### MST1 vlans mapped: 10,20
Bridge address ... priority 24577 (24576 sysid 1)
Root this switch for MST1
DIST2# show spanning-tree mst 2
ACC1# show spanning-tree mst
ACC1# show spanning-tree interface GigabitEthernet1/0 detail
Root this switch for MST2. On ACC1 the uplink to DIST1 is the root port for MST0 and MST1, and the uplink to DIST2 is the root port for MST2. No port type on ACC1 contains Bound, which proves the switch is inside the region. Gi1/0 shows The port is in the portfast mode (or portfast edge) and Bpdu guard is enabled.
Unlock the full question banks and cram sheets
A free account opens every question bank, the timed practice exams, the printable cram sheets, all the simulations and the lab files. Without one you see a 5-question sample of each.
No card needed. Study tips by email are optional and off unless you tick the box. Your address is never sold or shared. Privacy policy · Terms
Signed in as . Your account
You're on the free account, so lessons after the first module, question banks, exams and cram sheets show a sample. See Track Pass and All-Access
Also from NetManager Systems: NetManager, network monitoring for multi-vendor networks. Try the NetManager, NetDiag, PCAP Analyzer and OpsDash demos: every new account gets a free 7-day read-only login to each.