Operation Manual – MSTP
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
MSTP Configuration
1-30
IV. Configuration example (B)
# Configure the path cost of Ethernet1/0/1 in spanning tree instance 1 to be calculated
by the MSTP-enabled switch according to the IEEE 802.1D-1998 standard.
1) Perform this configuration in system view.
<H3C> system-view
[H3C] undo stp interface Ethernet1/0/1 instance 1 cost
[H3C] stp pathcost-standard dot1d-1998
2) Perform this configuration in Ethernet port view.
<H3C> system-view
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/0/1] undo stp instance 1 cost
[H3C-Ethernet1/0/1] quit
[H3C] stp pathcost-standard dot1d-1998
1.3.8 Configuring Port Priority
Port priority is an important criterion on determining the root port. In the same condition,
the port with the smallest port priority value becomes the root port.
A port on an 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 VLAN-based load balancing can be
implemented.
You can configure port priority in one of the following two ways.
I. Configure port priority in system view
Table 1-26 Configure port priority 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. Configure port priority in Ethernet port view
Table 1-27 Configure port priority in Ethernet port view
Operation Command Description
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—