3.12.23. spanning-tree priority

Syntax

spanning-tree priority priority

no spanning-tree priority

Parameter


instance-id Specify the instance ID. The valid range is from 0 to 15.

priority Specify the bridge STP priority. The valid range is from 0 to 61440. It nsures the probility that the switch is selected as the root bridge, and the lower values has the higher priority for the switch to be selected as the root bridge of the STP topology.


Default

The default priority for the switch 32768.

Mode

Global Configuration

Usage

To configure the bridge priority, use the command spanning-tree mst priority in the Global Configuration mode. To restore the default configuration, use the no form of the command. The value of bridge priority must be the multiple of 4096. A switch with the lowest priority is the root of the STP topology. When swithes with the same priority configuration in the environment, the switch with lowest MAC address would be selected as the root bridge.

Example

The following example modifies the bridge priority to 4096.

Switch(config)# spanning-tree priority 4096