Page 15 | AlliedWare Plus™ OS How To Note: Switching
Multiple Spanning Tree Protocol (MSTP)
Multiple Spanning Tree Protocol (MSTP)
This example takes the looped network from
"Rapid Spanning Tree Protocol (RSTP)" on
page 12
and configures MSTP instead of RSTP. MSTP lets you block different VLANs at
different points in the network. This gives you greater control over the flow of traffic in your
network, and allows more efficient use of bandwidth by using more switch ports.
As the following figure shows, this example discards traffic for:
z
vlans 2 and 3 between the AlliedWare Plus switch and Switch 2
z
vlan 4 between Switches 2 and 3
For the complete script for this example, see
"Script for MSTP example" on page 28
.
Enter Global Configuration mode and enter the command:
awplus(config)#vlan database
This puts you into VLAN mode. To create the VLANs, enter the commands:
awplus(config-vlan)#vlan 2 name vlan2
awplus(config-vlan)#vlan 3 name vlan3
awplus(config-vlan)#vlan 4 name vlan4
1.
Create the VLANs
1.0.3
1.0.2
1.0.4
AlliedWare Plus
Switch
1.0.5
1.0.6
1.0.6
1.0.5
1.0.7
1.0.7
vlan2
vlan3
vlan4
vlan2
vlan3
vlan4
vlan2
vlan3
vlan4
Root bridge for
instance 2.
(priority = 8192)
instance 2
instance 1
discarding
for vlan 4,
instance 2
discarding
for vlans 2-3,
instance 1
Switch 2
Switch 3
Root bridge for
instance 1
mstp.eps