Configuring Spanning Tree

Configure the STP mode to configure the spanning tree mode on the device.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the STP mode:

    boot config flags spanning-tree-mode {rstp|mstp}

Example

Configure the STP mode:

Switch:1(config)# boot config flags spanning-tree-mode mstp
Warning: Please save the configuration and reboot the switch
         for this to take effect.
Warning: Please carefully save your configuration files before
         starting configuring the switch in RSTP or MSTP mode.

Variable Definitions

Use the data in the following table to use the boot config flags spanning-tree-mode command.

Variable

Value

rstp|mstp

Specifies the Spanning Tree modes: Rapid Spanning Tree Protocol (RSTP) or Multiple Spanning Tree Protocol (MSTP).