RSTP Configuration Commands 333
Example
To set the priority of GigabitEthernet1/0/1 to 64, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface GigabitEthernet1/0/1
[SW5500-GigabitEthernet1/0/1]stp port priority 64
stp priority Syntax
stp priority
bridge-priority
undo stp priority
View
System View
Parameter
bridge-priority
: Specifies the priority of a Switch, ranging from 0 to 61440.
The values are not consecutive integers. The step length is 4096. By default, the
value is 32768.
Description
Use the stp priority command to configure the bridge priority of the Switch.
Using undo stp priority command, you can restore the default bridge priority
of the Switch.
The priority value shall be a multiple of 4096, such as 0, 4096, 8192 etc. The
smaller value represents the higher priority. A Switch with higher priority is more
likely to be a root bridge.
Example
To set the priority of the Switch to 4096, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]stp priority 4096
stp root primary Syntax
stp root primary
undo stp root
View
System View
Parameter
None