The stp priority command sets a priority for a device on a spanning tree.
The undo stp priority command restores the default priority.
By default, the priority of a device on a spanning tree is 32768.
Parameter | Description | Value |
---|---|---|
instance instance-id |
Specifies the ID of a spanning tree instance. If this parameter is not specified, the configuration takes effect on a Common and Internal Spanning Tree (CIST) instance. |
The value is an integer ranging from 0 to 4094, Value 0 indicates CIST. |
priority |
Specifies the priority of a device. A smaller value indicates a higher priority. |
The value ranges from 0 to 61440. The value is an integer multiple of 4096, such as 0, 4096, and 8192. |
Usage Scenario
Configuration Impact
A smaller priority value indicates a higher possibility to be selected as the root bridge.
Precautions