15-14
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter15 Configuring MSTP
Configuring MSTP Features
To return to the default MST region configuration, use the no spanning-tree mst configuration global
configuration command. To return to the default VLAN-to-instan ce map, use the no instance instance-id
[vlan vlan-range] MST configuration command. To return to the default name, use the no name MST
configuration command. To return to the default revision number, use the no revision MST configuration
command. To re-enable rapid PVST+, use the no spanning-tree mode or the spanning-tree mode pvst
global configuration command.
This example shows how to enter MST configuration mode, map VLANs 10 to 20 to MST instance 1,
name the region region1, set the configuration revision to 1, display the pending configuration, apply the
changes, and return to global configuration mode:
Switch(config)# spanning-tree mst configuration
Switch(config-mst)# instance 1 vlan 10-20
Switch(config-mst)# name region1
Switch(config-mst)# revision 1
Switch(config-mst)# show pending
Pending MST configuration
Name [region1]
Revision 1
Instance Vlans Mapped
-------- ---------------------
0 1-9,21-4094
1 10-20
-------------------------------
Switch(config-mst)# exit
Switch(config)#
Configuring the Root Switch
The switch maintains a spanning-tree instance for the group of VLANs mapped to it. A bridge ID,
consisting of the switch priority and the switch MAC address, is associated with each instance. For a
group of VLANs, the switch with the lowest bridge ID becomes the root switch.
To configure a switch to become the root, use the spanning-tree mst instance-id root global
configuration command to modify the switch priority from th e defaul t value (32768) to a si gn ificantly
lower value so that the switch becomes the root switch for the specified spanning-tree instance. When
you enter this command, the switch checks the switch priorities of the root switches. Because of the
extended system ID support, the switch sets its own priority for the specified in stance to 24 576 if this
value will cause this switch to become the root for the specified spanning-tree instance.
Step8 spanning-tree mode mst Enable MSTP. RSTP is also enabled.
Caution Changing spanning-tree modes can disrupt traffic because all
spanning-tree instances are stopped for the previous mode and
restarted in the new mode.
You cannot run both MSTP and rapid PVST+ or both MSTP and PVST+
at the same time.
Step9 end Return to privileged EXEC mode.
Step10 show running-config Verify your entries.
Step11 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose