Operation Manual – MSTP
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 MSTP Configuration
1-37
Caution:
z
If you change the standard that the device uses in calculating the default path cost,
the port path cost value set through the
stp cost
command will be out of effect.
z
When the path cost of a port is changed, MSTP will re-calculate the role of the port
and initiate a state transition. If you use 0 as
instance-id,
you are setting the path
cost of the CIST.
1.4.7 Configuring Port Priority
The priority of a port is an import basis that determines whether the port can be elected
as the root port of device. If all other conditions are the same, the port with the highest
priority will be elected as the root port.
On an MSTP-compliant device, a port can have different priorities in different MST
instances, and the same port can play different roles in different MST instances, so that
data of different VLANs can be propagated along different physical paths, thus
implementing per-VLAN load balancing. You can set port priority values based on the
actual networking requirements.
I. Configuration procedure
Follow these steps to configure the priority of a port or a group of ports:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter
Ethernet
interface
view
interface interface-type
interface-number
Enter
Ethernet
interface
view or port
group view
Enter port
group view
port-group
{
manual
port-group-name |
aggregation
agg-id
}
Required
Use either command.
Configurations made in
Ethernet interface view
will take effect on the
current port only;
configurations made in
port group view will take
effect on all ports in the
port group.
Configure the port priority
stp
[
instance
instance-id
]
port priority
priority
Optional
128 for all Ethernet ports
by default.