
67
dot1t
: Configures the device to calculate the default path cost for ports based on IEEE 802.1t.
legacy
: Configures the device to calculate the default path cost for ports based on a private standard.
Description
Use
stp pathcost-standard
to specify a standard for the device to use when calculating the default path
costs for ports.
Use
undo stp pathcost-standard
to restore the default.
By default, the device calculates the default path cost for ports based on a private standard.
If you change the standard that the device 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 device to calculate the default path cost for ports based on IEEE 802.1d-1998.
<Sysname> system-view
[Sysname] stp pathcost-standard dot1d-1998
stp point-to-point
Syntax
stp point-to-point
{
auto
|
force-false
|
force-true
}
undo stp
point-to-point
View
Ethernet interface view, WLAN mesh interface view
Default level
2: System level
Parameters
auto
: Specifies automatic detection of the link type.
force-false
: Specifies the non-point-to-point link type.
force-true
: Specifies the point-to-point link type.
Description
Use
stp point-to-point
to configure the link type of the ports.
Use
undo stp point-to-point
to restore the default.
The default setting is
auto
and the spanning tree device automatically detects whether a port connects to
a point-to-point link.
When connecting to a non-point-to-point link, a port is incapable of rapid state transition.
You can configure the link type as point-to-point for a port that works in full duplex mode. H3C
recommends that you use the default setting to let the device automatically detect the port link type.
The
stp point-to-point force-false
or
stp point-to-point force-true
command configured on a port in MSTP
mode takes effect on all MSTIs.