3com 4500 PWR 26-PORT 用户手册
RSTP Configuration Commands
225
Parameter
port-priority:
Specifies the priority of the port, ranging from 0 to 240. The
values are not consecutive integers. Step length is 16. By default, the value is 128.
Description
Use the
stp port priority
command to configure the priority of the current
Ethernet port.
Use the
undo stp port priority
command to restore the default priority.
The priority value shall be a multiple of 16, such as 0, 16, 32, 48 etc. The smaller
value represents the higher priority. A port with higher priority (lower numerical
value) is more likely to be a root port.
value represents the higher priority. A port with higher priority (lower numerical
value) is more likely to be a root port.
Example
To set the priority of Ethernet1/0/1 to 64, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface Ethernet1/0/1
[4500-Ethernet1/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.
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.
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:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]stp priority 4096