Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring MSTP (Rev. 03)
Overview
© 2008 Foundry Networks, Inc
Page 50 of 70
Figure 8: Schematic MSTI Configuration
Configuring Switch 1:
1. Create VLANs V100 and V200 and add the appropriate ports to each VLAN:
device-name
#
configure terminal
device-name
(config)#
vlan
device-name
(config vlan)#
config default
device-name
(config-vlan default)#
remove ports 1/1/1-1/1/3
device-name
(config-vlan default)#
exit
device-name
(config vlan)#
create v100 100
device-name
(config vlan)#
config v100
device-name
(config-vlan v100)#
add ports 1/1/1,1/1/3 tagged
device-name
(config-vlan v100)#
add ports 1/1/10 untagged
device-name
(config-vlan default)#
exit
device-name
(config vlan)#
create v200 200
device-name
(config vlan)#
config v200
device-name
(config-vlan v200)#
add ports 1/1/2,1/1/3 tagged
device-name
(config-vlan v200)#
exit
device-name
(config vlan)#
exit
2. Enter into Protocol Configuration mode and enable MSTP:
device-name
(config)#
protocol
device-name
(cfg protocol)#
mstp enable
3. Set priority 0 to MSTI 1 in order to force switch 1 to be the root of MSTI1:
device-name
(cfg protocol)#
mstp 1 priority 0
4. Enter into Protocol MSTP Configuration mode:
device-name
(cfg protocol)#
mstp
5. Add VLANs to MTSIs 0, 1 and 2:
device-name
(cfg protocol mstp)#
instance 0 vlan 1-99,101-199,201-4093
device-name
(cfg protocol mstp)#
instance 1 vlan 100
device-name
(cfg protocol mstp)#
instance 2 vlan 200
Configuring Switch 2:
1. Create VLANs V100 and V200 and add the appropriate ports to each VLAN:
device-name
#
configure terminal
device-name
(config)#
vlan
device-name
(config vlan)#
config default