The stp point-to-point command sets the link type of a port.
The undo stp point-to-point command restores the default link type.
By default, the link type of the ports on the switching device is auto. That is, the spanning tree protocol detects whether a port is connected to a P2P link.
Parameter | Description | Value |
---|---|---|
force-true | Indicates the link type is P2P. | - |
force-false | Indicates the link type is non-P2P. | - |
auto | Indicates that the spanning tree protocol detects automatically whether the port is connected to a P2P link. | - |
Ethernet interface view, GE interface view, XGE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, port group view, 25GE interface view
Usage Scenario
On a Layer 2 network running a spanning tree protocol, if a port of a switching device is connected to a non-P2P link, the port cannot perform fast status transition.
If a port works in full-duplex mode, the port is connected to a P2P link, and force-true can be set in the stp point-to-point command.
If a port works in half-duplex mode, the stp point-to-point force-true command can be used to forcibly set the type of the link to which the port is connected to P2P, implementing rapid network convergence.
Precautions
The stp point-to-point command configuration on a port takes effect in all spanning tree instances where the port resides.