Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring MSTP (Rev. 03)
Overview
© 2008 Foundry Networks, Inc
Page 51 of 70
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 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)#
add ports 1/1/10 untagged
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 2 in order to force switch 2 to be the root of MSTI2:
device-name
(cfg protocol)#
mstp 2 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 3:
1. VLANs V100 and V200 are created on the switch and the appropriate ports
are added 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/2,1/1/10
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/2 tagged
device-name
(config-vlan v100)#
add ports 1/1/10 untagged
device-name
(config-vlan v100)#
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. Enter into Protocol MSTP Configuration mode:
device-name
(cfg protocol)#
mstp
4. Add VLANS to MTSIs 0, 1 and 2: