Command Manual - STP
Quidway S6500 Series Ethernet Switches Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-27
For the related command, see stp interface point-to-point.
Example
# Configure Ethernet2/0/3 to be connected to the point-to-point link.
[Quidway-Ethernet2/0/3] stp point-to-point force-true
1.1.29 stp port priority
Syntax
stp [ instance instance-id ] port priority priority
undo stp [ instance instance-id ] port priority
View
Ethernet port view
Parameter
instance instance-id: Specifies the spanning tree instance ID, ranging from 0 to 16. The
Instance 0 represents CIST.
port priority priority: Specifies the port priority, ranging from 0 to 240, with a step length
of 16, e.g., 0, 16, and 32. By default, the priorities of a port on the STIs are 128.
Description
Using stp instance port priority command, you can configure the priority of a port on
a specified STI. Using undo stp instance port priority command, you can restore the
default priority of the port on the specified STI.
You may specify the instance-id parameter as 0 to configure CIST priority of the port.
The port priority has effect on the port role selection. A port can be configured with
different priorities on different MSTIs. Thus the traffic from different VLANs can run over
different physical links, thereby implementing the VLAN-based load-balancing. MSTP
will recalculate the port role and transit its state, upon the port priority changes.
For the related command, see stp interface port priority.
Example
# Set the priority of Ethernet5/0/3 on STI 2 to 16.
[Quidway-Ethernet5/0/3] stp instance 2 port priority 16
1.1.30 stp priority
Syntax
stp [ instance instance-id ] priority priority