spanning-tree vlan root

Use this command to configure the switch to become the root bridge or standby root bridge by modifying the bridge priority from the default value of 32768 to a lower value calculated to ensure the bridge is the root (or standby) bridge.

The logic takes care of setting the bridge priority to a value lower (primary) or next lower (secondary) than the lowest bridge priority for the specified VLAN or a range of VLANs.

Default 32768
Format spanning-tree vlan vlan-list root {primary|secondary}
Mode Global Config
Parameter Description
vlan-list The VLANs to which to apply this command.