Page 16 | AlliedWare Plus™ OS How To Note: Switching
Multiple Spanning Tree Protocol (MSTP)
Ports
1
.0.2-
1
.0.4 are in access mode. Enter the commands:
awplus(config-vlan)#interface port1.0.2
awplus(config-if)#switchport access vlan 2
awplus(config-if)#interface port1.0.3
awplus(config-if)#switchport access vlan 3
awplus(config-if)#interface port1.0.4
awplus(config-if)#switchport access vlan 4
Ports
1
.0.5-
1
.0.6 are in trunk mode. Enter the commands:
awplus(config-if)#interface port1.0.5-1.0.6
awplus(config-if)#switchport mode trunk
awplus(config-if)#switchport trunk allowed vlan add 2-4
Note that by default the port’s native VLAN—the VLAN that the port uses for untagged
packets—is VLAN
1
. Some control packets are untagged, including MSTP CIST BPDUs.
Leave Interface Configuration mode by entering the command:
awplus(config-if)#exit
Enter Global Configuration mode and enter the command:
awplus(config)#spanning-tree mode mstp
Enter MST mode by entering the command:
awplus(config)#spanning-tree mst configuration
To allow MSTP to block different VLANs at different places in the loop, create two instances.
Enter the commands:
awplus(config-mst)#instance 1 vlan 2-3
awplus(config-mst)#instance 2 vlan 4
Specify the MSTP region and revision number. Enter the commands:
awplus(config-mst)#region awplus
awplus(config-mst)#revision 1
Note that all MSTP devices in this network must have the same region and revision number.
2. Associate VLANs with ports
3. Select MSTP as the spanning tree mode
4. Configure MST instances, region, and revision number