spanning-tree mode

Syntax

spanning-tree mode {mstp|rpvst}

Description

Sets the spanning tree mode to either MSTP mode (Multiple-instance Spanning Tree Protocol) or RPVST mode (Rapid Per VLAN Spanning Tree). If you want to change the spanning tree mode, you must first disable spanning tree with the command no spanning-tree.

The no form of this command sets the spanning tree mode to the default value mstp.

Command context

config

Parameters

mstp

Sets the mode to MSTP (Multiple-instance Spanning Tree Protocol), which applies the STP (spanning tree protocol) separately for each set of VLANs (called an MSTI - multiple spanning tree instance).

rpvst
Sets the mode to RPVST (Rapid Per VLAN Spanning Tree).

Authority

Administrators or local user group members with execution rights for this command.

Examples

Enabling MSTP mode:

switch(config)# spanning-tree mode mstp

Enabling RPVST mode:

switch(config)# spanning-tree mode rpvst