Operation Manual – MSTP
H3C S7500 Series Ethernet Switches
<H3C> system-view
[H3C] interface ethernet2/0/1
[H3C-Ethernet2/0/1] stp instance 1 cost 2000
IV. Configuration example (B)
# Change the path cost of Ethernet2/0/1 in MSTI 1 to the default one calculated with the
IEEE 802.1D-1998 standard.
1)
Configure in system view.
<H3C> system-view
[H3C] stp pathcost-standard dot1d-1998
2)
Configure in Ethernet port view.
<H3C> system-view
[H3C] interface ethernet2/0/1
[H3C-Ethernet2/0/1] quit
[H3C] 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,
ports with smaller port priority values are more potential to become the root port than
those with bigger priority values.
A port on an MSTP-enabled switch can have different port priorities and play different
roles in different MSTIs. This enables packets of different VLANs to be forwarded along
different physical paths, so that load balancing can be achieved based on VLANs.
You can configure port priority in the following two ways.
I. Configuring port priority in system view
Follow these steps to configure port priority for specified ports in system view:
To do ...
Enter system view
Configure port
priority for specified
ports
II. Configuring port priority in Ethernet port view
Follow these steps to configure port priority for a specified port in Ethernet port view:
Use the command ...
system-view
stp interface interface-list
instance instance-id port
priority priority
1-28
Chapter 1 MSTP Configuration
Remarks
—
Required
The default port priority is 128.