Configuring Port Path Costs - HP A5830 Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for A5830:
Table of Contents

Advertisement

Step...
2.
Enter
interface
view or
port
group
view
3.
Configure the current ports as edge
ports

Configuring port path costs

Path cost is a parameter related to the rate of a port. On a spanning tree 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, achieving VLAN-based load balancing.
Have the device calculate the default path cost automatically, or configure the path cost for ports.
Specifying a standard for the device to use when it calculates the default path cost
CAUTION:
If you change the standard that the device uses to calculate the default path costs, you restore the path
costs to the default.
Specify a standard for the device to use in automatic calculation for the default path cost. The device
supports the following standards:
dot1d-1998—The device calculates the default path cost for ports based on IEEE 802.1d- 1 998.
dot1t—The device calculates the default path cost for ports based on IEEE 802.1t.
legacy—The device calculates the default path cost for ports based on a private standard.
To specify a standard for the device to use when it calculates the default path cost:
Step...
1.
Enter system view
2.
Specify a standard for the
device to use when it
calculates the default path
costs of its ports
When it calculates path cost for an aggregate interface, IEEE 802.1t takes into account the number of
Selected ports in its aggregation group, but IEEE 802.1d- 1 998 does not. The calculation formula of IEEE
802.1t is: Path cost = 200,000,000/link speed (in 100 kbps), where link speed is the sum of the link
speed values of the Selected ports in the aggregation group.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view
Enter port group view
Command...
system-view
stp pathcost-standard { dot1d-
1998 | dot1t | legacy }
Command...
Remarks
interface interface-
type interface-number
Required
Use either command
port-group manual
port-group-name
Required
stp edged-port
All ports are non-edge ports by
enable
default
70
Remarks
Optional
legacy by default

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents