MSTP example configuration
This example describes how to create an MSTP instance on the switch (switch 1) in a network in which two other switches (switch 2 and switch 3) participate in an MSTP configuration:
- Each switch is at a different location and connected to the other two switches through ports 6 and 7g6 and g7 mg6 and mg7 xg6 and xg7. For consistency, each switch uses the same ports numbers.
- Each switch has devices in the local sales department connected to ports 1, 2, and 3g1, g2, and g3mg1, mg2, and g3xg1, xg2, and xg3 and devices in the local HR department connected to ports 4 and 5g4 and g5mg4 and mg5 xg4 and xg5. For consistency, each switch uses the same port numbers.
- The devices connected to switch 1 use VLAN 300 to communicate with the devices connected to switch 3.
- The devices connected to switch 2 use VLAN 500 to communicate with the devices connected to switch 3.
In this example, you do the following on each switch:
- Create a VLAN with VLAN ID 300 and another VLAN with VLAN ID 500
- Add ports 1 through 7 as tagged members of VLAN 300 and VLAN 500
- Enable the Spanning Tree State and select MSTP as the STP operation mode
- Set the bridge priority value
- Enable STP on ports 1 through 7
- Create MST instances that are associated with VLANs 300 and 500