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
bridge-priority
stp priority
undo stp priority
View
System View
Parameter
Specifies the priority of a Switch, ranging from 0 to 61440.
bridge-priority
:
The values are not consecutive integers. The step length is 4096. By default, the
value is 32768.
Description
Use the
command to configure the bridge priority of the Switch.
stp priority
Using
command, you can restore the default bridge priority
undo stp 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