103
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
stp point-to-point
Syntax
stp point-to-point
{
auto
|
force-false
|
force-true
}
undo stp
point-to-point
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate 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 the
stp point-to-point
command to configure the link type of the current port(s).
Use the
undo stp point-to-point
command to restore the system default.
The default setting is
auto
. The MSTP-enabled switch automatically detects whether a port connects to a
point-to-point link.
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.
When connecting to a non-point-to-point link, a port does not support rapid state transition.
If the current port is a Layer 2 aggregate interface or if it works in full duplex mode, you can configure
the link to which the current port connects as a point-to-point link. H3C recommends that you use the
default setting to let MSTP automatically detect the link status.
If a port is configured as connecting to a point-to-point link or a non-point-to-point link, the setting takes
effect for the port in all MSTIs.