Using the CLI to Configure MSTP

  1. Create VLAN 10 and VLAN 20.
    (Extreme 220) (Routing) #vlan database
    vlan 10
    vlan 20
    exit
  2. Enable spanning tree Globally
    (Extreme 220) (Routing) #config
    spanning-tree
  3. Create MST instances 10 and 20.
    spanning-tree mst instance 10
    spanning-tree mst instance 20
  4. Associate MST instance 10 to VLAN 10 and MST instance 20 to VLAN 20
    spanning-tree mst vlan 10 10
    spanning tree mst vlan 20 20
  5. Change the name so that all the bridges that want to be part of the same region can form the region.
    spanning-tree configuration name broadcom
  6. Make the MST ID 10 bridge the root bridge by lowering the priority.
    spanning-tree mst priority 10 16384
  7. Change the priority of MST ID 20 to ensure the other bridge is the root bridge.
    spanning-tree mst priority 20 61440
  8. Enable STP on interface 1/0/1
    interface 1/0/1
    spanning-tree port mode
    exit
  9. Enable STP on interface 1/0/2
    interface 1/0/2
    spanning-tree port mode
  10. On the non-root bridge change the priority to force port 1/0/2 to be the root port.
    spanning-tree mst 20 port-priority 64
    exit