1-28
[Sysname-GigabitEthernet1/0/1] undo stp enable
Configuring Leaf Nodes
Configuring an MST Region
Refer to Configuring an MST Region in the section about root bridge configuration.
Configuring the Work Mode of MSTP
Refer to Configuring the Work Mode of an MSTP Device in the section about root bridge configuration.
Configuring the Timeout Factor
Refer to Configuring the Timeout Factor in the section about root bridge configuration.
Configuring the Maximum Transmission Rate of Ports
Refer to Configuring the Maximum Port Rate in the section about root bridge configuration.
Configuring Ports as Edge Ports
Refer to Configuring Ports as Edge Ports in the section about root bridge configuration.
Configuring Path Costs of Ports
Path cost is a parameter related to the rate of a port. On an MSTP-enabled device, a port can have
different path costs in different MSTIs. Setting appropriate path costs allows VLAN traffic flows to be
forwarded along different physical links, thus to achieve VLAN-based load balancing.
The device can automatically calculate the default path cost; alternatively, you can also configure the
path cost for ports.
Specifying a standard that the device uses when calculating the default path cost
You can specify a standard for the device to use in automatic calculation for the default path cost. The
device supports the following standards:
z dot1d-1998: The device calculates the default path cost for ports based on IEEE 802.1d-1998.
z dot1t: The device calculates the default path cost for ports based on IEEE 802.1t.
z legacy: The device calculates the default path cost for ports based on a private standard.
Follow these steps to specify a standard for the device to use when calculating the default path cost:
To do... Use the command... Remarks
Enter system view
system-view
—
Specify a standard for the
device to use when calculating
the default path costs for ports
of the device
stp pathcost-standard
{ dot1d-1998 | dot1t | legacy }
Optional
The default standard used by
the device is legacy.