Selecting RPVST+ as the spanning tree mode

Syntax:

spanning-tree mode [mstp | rapid-pvst]
no spanning-tree mode [mstp | rapid-pvst]

Specifies that spanning tree will run in MSTP (default) or RPVST+ mode.

To view Mode, use the show run command. This will eliminate confusion if there is an RPVST configuration but MSTP is running. This will lead to a change in the existing factory default setting.

RPVST+ parameters can be configured even if the mode is MSTP and vice versa. This command does not enable/disable spanning tree. It sets the mode which is operational once spanning tree is enabled using spanning-tree enable.

The no form of the command changes the spanning tree mode to the default mode (MSTP) .