Operation Manual – MSTP
Quidway S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration
Huawei Technologies Proprietary
1-29
z
Configure in Ethernet port view.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet1/0/1
[Quidway-Ethernet1/0/1] undo stp instance 1 cost
[Quidway-Ethernet1/0/1] quit
[Quidway] stp pathcost-standard dot1d-1998
1.3.8 Port Priority Configuration
Port priority is an important criterion on determining the root port. In the same condition,
a port with higher port priority is more potential to become the root port than another
port with lower priority.
A port on a MSTP-enabled switch can have different port priorities and play different
roles in different spanning tree instances. This enables packets of different VLANs to be
forwarded along different physical paths, so that load balancing can be achieved by
VLANs.
You can configure port priority in the following two ways.
I. Configuring port priority in system view
Table 1-25
Configure port priority for specified ports in system view
Operation
Command
Description
Enter system view
system-view
—
Configure port
priority for
specified ports
stp interface
interface-list
instance
instance-id
port
priority priority
Required
The default port priority is 128.
II. Configuring port priority in Ethernet port view
Table 1-26
Configure port priority for a specified port in Ethernet port view
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port
view
interface
interface-type
interface-number
—
Configure port
priority for the port
stp
[
instance
instance-id
]
port priority
priority
Required.
The default port priority is 128.
Changing port priority of a port may change the role of the port and put the port into
state transition.