79
stp port priority
Use
stp port priority
to set the priority of the ports.
Use
undo stp port priority
to restore the default.
Syntax
stp
[
instance instance-id
]
port priority priority
undo stp
[
instance instance-id
]
port priority
Default
The port priority is 128.
Views
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default command level
2: System level
Parameters
instance instance-id
: Sets the priority of the ports in a particular MSTI. The minimum value of
instance-id
is 0, representing the CIST, and the maximum value of
instance-id
is 15.
priority
: Specifies the port priority. The value range is 0 to 240 in increments of 16 (as indicated by 0,
16, 32).
Usage guidelines
The following matrix shows the command and hardware compatibility:
Hardware
Command compatibility in Layer 2
aggregate interface view
MSR800 Yes
MSR 900
No
MSR900-E Yes
MSR 930
Yes
MSR 20-1X
No
MSR 20
No
MSR 30
Yes
MSR 50
Yes
MSR 2600
Yes
MSR3600-51F Yes
Configured in Ethernet interface view, the setting takes effect only on the interface.
Configured in port group view, the setting takes effect on all member ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate
interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port
leaves the aggregation group.
To set the priority of an MSTP port in a specific MSTI, use this command with the MSTI specified.