
121
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.
If the physical link to which the port connects is not a point-to-point link and you manually set it to be one,
your configuration may cause temporary loops.
Related commands:
display stp
.
Examples
# Configure the link connecting GigabitEthernet 1/0/3 as a point-to-point link.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] stp point-to-point force-true