Operation Manual - STP
Quidway S3000-EI Series Ethernet Switches Chapter 1
MSTP Region-configuration
Huawei Technologies Proprietary
1-21
Configure the Path Cost of a port Table 1-15
Operation Command
Configure the Path Cost of a port stp [ instance instance-id ] cost cost
Restore the default path cost of a port. undo stp [ instance instance-id ] cost
You can configure the path cost of a port with either of the above-mentioned measures.
he Command Manual.
Upon the change of path cost of a port, MSTP will recalculate the port role and transit
1.2.11 Co Port
t port. With other things being equal, the port with the
highest priority will be elected as the root port. On the MSTP switch, a port can have
roles respectively. Thus the traffic
from different VLANs can run over different physical links, thereby implementing the
You can configu iority in the following ways.
I. C
Perform the following configuration in system
Table 1-16 Configure the port priority
For more about the commands, refer to t
the state. When instance-id takes 0, it indicates to set the path cost on the CIST.
By default, MSTP is responsible for calculating the port path cost.
nfigure the Priority of a
For spanning tree calculation, the port priority is an importance factor to determine if a
port can be elected as the roo
different priorities in different STIs and plays different
VLAN-based load-balancing.
re the port pr
onfigure in system view
view.
Operation Command
Configure the port priority.
stp interface interface-list [ instance
instance-id ] port priority priority
Restore the default port priority.
undo stp
interface interface-list
[ instance instance-id ] port priority
II.
P ern
able 1-17 Configure the port priority
Configure in Ethernet port view
erform the following configuration in Eth et port view.
T
Operation Command
Configure the port priority. stp [ instance instance-id ] port priority priority
Restore the default port priority. undo stp [ instance instance-id ] port priority