14.
Multiple Spanning Tree Protocol (MSTP)
MN700004 Rev 01
177
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 the MSTP:
device-name
(config)#
protocol
device-name
(cfg protocol)#
mstp enable
3. Set priority 0 to MSTI 1 in order to force ESB26 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-4094
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
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 the MSTP:
device-name
(config)#
protocol
device-name
(cfg protocol)#
mstp enable
3. Set priority 0 to MSTI 2 in order to force ESB26 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: