Configuring pvst+ or r-pvst, Enabling stp, rstp, mstp, pvst+ or r-pvst, Disabling stp, rstp, mstp, pvst+, or r-pvst – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 419: Enabling, Stp, rstp, mstp, pvst+ or r-pvst, Enabling stp, Rstp, mstp, pvst+ or r-pvst

To specify a revision number for an MSTP configuration, perform the following steps from privileged
EXEC mode.
1. Enter the configure terminal command to change to global configuration mode.
switch# configure terminal
2. Enter the protocol command to enable MSTP.
switch(config)# protocol spanning-tree mstp
3. Enter the revision command to specify a revision number for an MSTP configuration.
switch(config-mstp)# revision 17
4. Return to privileged EXEC mode.
switch(config-mstp)# end
5. Enter the copy command to save the running-config file to the startup-config file.
switch# copy running-config startup-config
Configuring PVST+ or R-PVST+
To configure PVST+ or R-PVST+, use the protocol spanning-tree pvst and protocol spanning-tree
rpvst commands. Refer to the Network OS Command Reference for details.
NOTE
Before proceeding, refer to
PVST+ and R-PVST+ guidelines and restrictions
on page 411.
For example, the script below sets up PVST+ for VLAN 10:
switch(config)# protocol spanning-tree pvst
switch(conf-pvst)# bridge-priority 4096
switch(conf-pvst)# forward-delay 4
switch(conf-pvst)# hello-time 2
switch(conf-pvst)# max-age 7
Enabling STP, RSTP, MSTP, PVST+ or R-PVST+
Enable STP to detect or avoid loops. STP is not required in a loop-free topology. You must turn off one
form of STP before turning on another form. By default, STP, RSTP, MSTP, PVST+, or R-PVST+ are
not enabled.
Perform the following steps from privileged EXEC mode.
1. Enter the configure terminal command to change to global configuration mode.
switch# configure terminal
2. Enter the protocol command to enable STP, RSTP, MSTP, PVST+, or R-PVST+.
switch(config)# protocol spanning-tree mode_name
Disabling STP, RSTP, MSTP, PVST+, or R-PVST+
NOTE
Using the no protocol spanning-tree command deletes the context and all the configurations defined
within the context or protocol for the interface.
To disable STP, RSTP, MSTP, PVST+, or R-PVST+, perform the following steps from privileged EXEC
mode. By default, STP, RSTP, MSTP, PVST+, or R-PVST+ are not enabled.
1. Enter the configure terminal command to access global configuration mode.
switch# configure terminal
2. Enter the protocol command to disable STP, RSTP, MSTP, PVST+, or R-PVST+.
switch(config)# no protocol spanning-tree
Configuring PVST+ or R-PVST+
Network OS Administrator’s Guide
419
53-1003225-04