
120
Configured in Layer 2 Ethernet interface view, the setting takes effect on the current interface only.
Configured in port group view, the setting takes effect on all member ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
This feature takes effect only after you enable it on the root port.
Examples
# Enable No Agreement Check on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp no-agreement-check
stp pathcost-standard
Syntax
stp
pathcost
-
standard
{
dot1d-1998
|
dot1t
|
legacy
}
undo
stp pathcost-standard
View
System view
Default level
2: System level
Parameters
dot1d-1998
: Configures the switch to calculate the default path cost for ports based on IEEE
802.1d-1998.
dot1t
: Configures the switch to calculate the default path cost for ports based on IEEE 802.1t.
legacy
: Configures the switch to calculate the default path cost for ports based on a private standard.
Description
Use the
stp pathcost-standard
command to specify a standard for the switch to use when calculating the
default path costs for ports of the switch.
Use the
undo stp pathcost-standard
command to restore the default.
By default, the switch calculates the default path cost for ports based on a private standard.
If you change the standard that the switch uses in calculating the default path costs, you restore the path
costs to the default.
Related commands:
stp cost
and
display stp
.
Examples
# Configure the switch to calculate the default path cost for ports based on IEEE 802.1d-1998.
<Sysname> system-view
[Sysname] stp pathcost-standard dot1d-1998