14.
Multiple Spanning Tree Protocol (MSTP)
MN700004 Rev 01
178
device-name
(cfg protocol mstp)#
instance 0 vlan 1-99,101-199,201-4094
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 the 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-4094
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 the MSTP
device-name
(config)#
protocol
device-name
(cfg protocol)#
mstp enable
3. Enter into Protocol MSTP Configuration mode: