Use this command to set the device‘s Spanning Tree priority.
priority | Specifies the priority of the bridge. Valid values are from 0 to 65535, with the numerical value of 0 indicating highest priority and the numerical value 65535 indicating lowest priority. When 802.1t is selected as the bridge priority mode, as described in set spantree bridgeprioritymode, values will be rounded up or down, depending on the 802.1t value to which the entered value is closest, in increments of 4096. |
sid | (Optional) Sets the priority on a specific Spanning Tree. Valid values are 0 - 4094. If not specified, SID 0 is assumed. |
If sid is not specified, priority will be set on Spanning Tree 0.
All command modes.
The device with the highest priority (lowest numerical value) becomes the Spanning Tree root device. If all devices have the same priority, the device with the lowest MAC address will then become the root device. Depending on the set bridgepriority mode setting as described in set spantree bridgeprioritymode, some priority values may be translated, and the translation will display in the CLI output as shown in the examples in this section.
This example shows how to set the bridge priority to 1 on all SIDs with 8021t priority mode enabled:
System(rw)->set spantree priority 1 Bridge Priority has been translated to incremental step of 4096
This example shows how to set the bridge priority to 15 on all SIDs with 8021t priority mode enabled:
System(rw)->set spantree priority 15 Bridge Priority has been translated to incremental step of 61440
This example shows how to set the bridge priority to 4000 on all SIDs with 8021t priority mode enabled:
System(rw)->set spantree priority 4000 Bridge Priority has been rounded up to 4096 from 4000
This example shows how to set the bridge priority to 10000 on all SIDs with 8021t priority mode enabled:
System(rw)->set spantree priority 10000 Bridge Priority has been rounded down to 8192 from 10000
This example shows how to set the bridge priority to 1000 on all SIDs with 8021t priority mode enabled:
System(rw)->set spantree priority 1000 Bridge Priority has been rounded down to 0 from 1000