Study FAQ
How do I configure a matching MSTP region and choose its roots on CX 6300?
Also asked as 2
- Which MSTP settings must match between CX 6300 switches, and how do I set the preferred root?
- How do I map VLANs to an MST instance and verify the intended root on CX 6300?
Answer
On CX 6300 with AOS-CX 10.13, configure the same MST region name, revision number, and complete VLAN-to-instance mapping on every switch in the region. Set priorities separately for the common tree and each explicit instance whose root you want to control. The revision identifies the configuration and does not distribute it to other switches.
For an isolated pair of switches with VLANs 10, 20, and 99 already created and the redundant trunks shut and disconnected, enter these commands in global configuration mode on both switches:
spanning-tree mode mstp
spanning-tree
spanning-tree config-name LAB-MSTP
spanning-tree config-revision 1
spanning-tree instance 1 vlan 10
spanning-tree instance 1 vlan 20
VLANs 10 and 20 now share instance 1. Unmapped VLANs, including 99, belong to instance 0. On the intended root, use spanning-tree priority 0 for instance 0 and spanning-tree instance 1 priority 0 for instance 1. On the other switch use a priority multiplier of 1 in the corresponding commands. Each multiplier represents 4096 in bridge priority and lower values win before the address tie-breaker.
Use show spanning-tree mst-config to compare the name, revision, mapping digest, and all mappings, including any left by earlier work. Bring up one correctly configured trunk and check show spanning-tree summary root and show spanning-tree mst after convergence. An isolated switch may show itself as root while the links are down. Validate the elected root across the actual connected pair before enabling the redundant path.
AOS-CX 10.13 Layer-2 Bridging Guide for CX 6300/6400 · AOS-CX 10.13 MSTP loop prevention example
Full explanation
HPE6-A86: Configuring MSTP and Validating Loop Prevention
Study guide · HPE6-A86
Read the full explanation