R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
38
Syntax
stp point-to-point { auto | force-false | force-true }
undo stp point-to-point
Default
The default setting is auto, and the spanning tree device automatically detects whether a port connects
to a point-to-point link.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
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.
Usage guidelines
When connecting to a non-point-to-point link, a port is incapable of rapid state transition.
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 or VLANs.
If the physical link to which the port connects is not a point-to-point link but you set it to be one, the
configuration might cause a temporary loop.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only the interface.
Examples
# Configure the link that connects GigabitEthernet 2/1/3 as a point-to-point link.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/3
[Sysname-GigabitEthernet2/1/3] stp point-to-point force-true
Related commands
display stp
stp port priority
Use stp port priority to set the priority of a port. The port priority affects the role of a port in a spanning
tree.
Use undo stp port priority to restore the default.
Syntax
stp [ instance instance-list | vlan vlan-id-list ] port priority priority
undo stp [ instance instance-list | vlan vlan-id-list ] port priority
Default
The port priority is 128.