spanning-tree mode rpvst

Syntax

spanning-tree mode rpvst

no spanning-tree mode rpvst

Description

Enables the RPVST feature globally. By default, the spanning tree mode is set to mstp. Before changing the mode to RPVST, you must first disable spanning tree with the command no spanning-tree.

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

Command context

config

Authority

Administrators

Examples

Setting spanning tree mode to RPVST:

switch# config
switch(config)# no spanning-tree 
switch(config)# spanning-tree mode rpvst
switch(config)# spanning-tree

Setting spanning tree mode to the default (MSTP):

switch# config
switch(config)# no spanning-tree mode rpvst