Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring MSTP (Rev. 03)
Overview
© 2008 Foundry Networks, Inc
Page 52 of 70
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 4:
1. Create VLAN V200 and add the appropriate ports to the 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
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/1,1/1/2 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. Enter into Protocol MSTP Configuration mode:
device-name
(cfg protocol)#
mstp
4. 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
After applying the configuration commands on all the switches as shown above and connecting the
switches as shown in
Figure 8
, the following information will be displayed by the
show
mstp
command on each of the switches.
Displaying the Configuration on Switch 1:
device-name
#
show mstp
Multiple spanning trees = enabled
ProtocolSpecification = ieee8021s
Priority = 0
TimeSinceTopologyChange = 0 (Sec)
TopChanges = 6
CIST Root = 32768.00:A0:00:01:09:0B
MaxAge = 20 (Sec)
HelloTime = 2 (Sec)
ForwardDelay = 15 (Sec)
BridgeMaxAge = 20 (Sec)
BridgeHelloTime = 2 (Sec)
BridgeForwardDelay = 15 (Sec)
ProtoMigratioDelay = 3 (Sec)
MaxHopCount = 40
TxHoldCount = 3
SpanIgmpFastRecovery
= disabled