Configuring leaf nodes, Configuring the mst region, Configuring the timeout time factor – H3C Technologies H3C S3100 Series Switches User Manual
Page 249: Configuring a port as an edge port, Configuring the path cost for a port, Standards for calculating path costs of ports, 30 configuring the path cost for a port

1-30
[Sysname-Ethernet1/0/1] stp disable
Configuring Leaf Nodes
Configuring the MST Region
.
Configuring How a Port Recognizes and Sends MSTP Packets
Configuring How a Port Recognizes and Sends MSTP Packets
Configuring the Timeout Time Factor
Configuring the Timeout Time Factor
Configuring the Maximum Transmitting Rate on the Current Port
Configuring the Maximum Transmitting Rate on the Current Port
Configuring a Port as an Edge Port
Configuring the Current Port as an Edge Port
.
Configuring the Path Cost for a Port
The path cost parameter reflects the rate of the link connected to the port. For a port on an
MSTP-enabled switch, the path cost may be different in different MSTIs. You can enable flows of
different VLANs to travel along different physical links by configuring appropriate path costs on ports, so
that VLAN-based load balancing can be implemented.
Path cost of a port can be determined by the switch or through manual configuration.
Standards for calculating path costs of ports
Currently, a switch can calculate the path costs of ports based on one of the following standards:
z
dot1d-1998
: Adopts the IEEE 802.1D-1998 standard to calculate the default path costs of ports.
z
dot1t
: Adopts the IEEE 802.1t standard to calculate the default path costs of ports.
z
legacy
: Adopts the proprietary standard to calculate the default path costs of ports.
Follow these steps to specify the standard for calculating path costs:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Specify the standard for
calculating the default path
costs of the links connected to
the ports of the switch
stp pathcost-standard
{ dot1d-1998 | dot1t | legacy }
Optional
By default, the legacy standard
is used to calculate the default
path costs of ports.