Configuring Multiple Spanning Tree Protocol
- Enter the global configuration mode.
- Enable MSTP scope.
- Enable MSTP.
- Set the MSTP name and revision number.
- Configure an MSTP
instance.
In the example, an MSTP instance is configured with VLANs 4, 5, 6 and 7 mapped onto it.
An MSTP instance is configured with an MSTP ID with one or more VLANs. The RUCKUS implementation of MSTP allows you to assign VLANS or ranges of VLANs to an MSTP instance before or after they have been defined.
The system does not allow a Multiple Spanning Tree Instances (MSTI) without any VLANs mapped to it. Consequently, removing all VLANs from an MSTI, deletes the MSTI from the system. - Change bridge priority for the MSTP instance.
- Change the MSTP global parameters using force-version, forward-delay, hello-time, max-age, and max-hop keywords.
- Configure a port as an operational edge port.
You can define specific ports as edge ports for the region in which they are configured to connect to devices (such as a host) that are not running STP, RSTP, or MSTP.
You can also configure a Layer 3 switch to automatically set a port as an operational edge port if the port does not receive any BPDUs since link-up. A port can be set as an operational port globally to apply to all the ports on a router where it is configured.
device(config)# mstp edge-port-auto-detect
- Set point-to-point link between ports to increase the speed of convergence.
device# configure terminal device(config)# mstp scope all device(config)# mstp start device(config)# mstp name RUCKUS device(config)# mstp revision 4 device(config)# mstp instance 1 vlan 4 to 7 device(config)# mstp instance 1 priority 0 device(config)# mstp force-version 0 forward-delay 10 hello-time 4 max-age 12 max-hops 9 device(config)# mstp admin-edge-port ethernet 1/1/1 device(config)# mstp admin-pt2pt-mac ethernet 1/2/5 ethernet 1/4/5