![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg26a.png)
618 CHAPTER 38: MSTP CONFIGURATION COMMANDS
Parameters auto: Specifies MSTP detects automatically whether the current port connects to a
point-to-point link.
force-false: Specifies the current port to connect to a non-point-to-point link.
force-true: Specifies the current port to connect to a point-to-point link.
Description Use the
stp point-to-point command to specify whether the current port
connects to a point-to-point link.
Use the
undo stp point-to-point command to restore the default status of the
link connected with the current port.
The default setting is auto; namely the MSTP-compliant device automatically
detects whether an Ethernet port connects to a point-to-point link.
Configured in Ethernet interface view, the setting is effective on the current port
only.
Note that:
■ Configured in Ethernet interface view, the setting is effective on the current
port only; configured in port group view, the setting is effective on all the ports
in the port group.
■ When connecting to a non-point-to-point link, a port is incapable of rapid state
transition.
■ If the current port is the master port of aggregated ports or if it works in full
duplex mode, the link to which the current port connects is a point-to-point
link. We recommend that you use the default setting, namely let MSTP detect
the link status automatically.
■ This setting is effective to the CIST and all MST instances. 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 MST instances. If the physical link to which the
port connects is not a point-to-point link and you force it to be a point-to-point
link by configuration, your configuration may incur a temporary loop.
Examples # Configure port Ethernet 1/3 as connecting to a point-to-point link.
<Sysname> system-view
[Sysname] interface Ethernet 1/3
[Sysname-Ethernet1/3] stp point-to-point force-true
stp port-log
Syntax stp port-log { all | instance instance-id }
undo stp port-log { all | instance instance-id }
View System view
Parameters all: Enables output of port state transition information for all instances.