1-28
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname]stp interface Ethernet1/0/1 no-agreement-check
stp pathcost-standard
Syntax
stp pathcost-standard { dot1d-1998 | dot1t }
undo stp pathcost-standard
View
System view
Parameters
dot1d-1998: The device calculates the default path cost for ports based on IEEE 802.1d-1998.
dot1t: The device calculates the default path cost for ports based on IEEE 802.1t.
Description
Use the stp pathcost-standard command to set the standard to be used to calculate the default path
costs of the links connected to the switch.
Use the undo stp pathcost-standard command to specify to use the default standard.
By default, the device calculates the default path cost for ports based on IEEE 802.1t. STP uses path
costs to indicate the quality of links. A smaller path cost indicates a higher link quality. The path cost of a
port is related to the rate of the link connecting the port. The higher the link rate, the smaller the path
cost. The path cost of a port may vary when different standards are used to calculate it. For details, see
Table 1-8.
Table 1-8 Link speeds and the corresponding path costs
Link speed Operating mode (half-/full-duplex) 802.1D-1998 IEEE 802.1t
0 — 65,535 200,000,000
10 Mbps
Half-duplex/Full-duplex
Aggregated link 2 ports
Aggregated link 3 ports
Aggregated link 4 ports
100
95
95
95
200,000
1,000,000
666,666
500,000
100 Mbps
Half-duplex/Full-duplex
Aggregated link 2 ports
Aggregated link 3 ports
Aggregated link 4 ports
19
15
15
15
200,000
100,000
66,666
50,000
1,000 Mbps
Full-duplex
Aggregated link 2 ports
Aggregated link 3 ports
Aggregated link 4 ports
4
3
3
3
200,000
10,000
6,666
5,000