Command Guide of WGSW-28040
304
4.26.4 spanning-tree priority
Command:
spanning-tree priority <0-61440>
Parameter:
<0-61440>
Specify the bridge priority, it must multiples of 4096
Default:
spanning-tree priority 32768
Mode:
Global Configuration
Usage Guide:
This command configures the bridge priority. The configuration could be shown by “show spanning-tree” command.
Example:
This example sets the bridge priority to 16384.
Switch#
configure
Switch(config)#
spanning-tree priority 16384
Switch(config)#
exit
Switch#
show spanning-tree
Spanning tree enabled mode RSTP
Default port cost method: long
Root ID Priority 16384
Address 00:30:4F:28:55:00
This switch is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Number of topology changes 2 last change occurred 00:03:37 ago
Times: hold 0, topology change 0, notification 0
hello 2, max age 20, forward delay 15
Interfaces
Name State Prio.Nbr Cost Sts Role EdgePort Type
--------- -------- -------- -------- ------ ---- -------- -----------------
gi1 enabled 128.1 20000 Frw Desg No P2P (RSTP)
Switch#