Installation manual
Command Manual - STP
Quidway S3000-EI Series Ethernet Switches Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-14
Table 1-4 Cost corresponding to the port speed
Link speed
Recommended
value
Recommended value
range
Value range
10Mbps 2,000 200- 20000 1-200000
100Mbps 200 20-2000 1-200000
1Gbps 20 2-200 1-200000
10G/s 2 2-20 1-200000
Above 10G/s 1 1-2 1-200000
For the related command, see stp interface cost .
Example
# Set the path cost of ethernet0/3 on STI 2 to 200.
[Quidway-Ethernet0/3] stp instance 2 cost 200
1.1.15 stp port priority
Syntax
stp [ instance instance-id ] port priority priority
undo stp [ instance instance-id ] port priority
View
Ethernet port view
Parameter
instance-id: Specifies the spanning tree instance ID, ranging from 0 to 16, instance 0 is
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 port priority command, you can configure the priority of a port on a specified
STI. Using undo stp 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.