P2P links can implement rapid convergence. If the two ports connected by a P2P link are root or designated ports, they can transit to the Forwarding state quickly by sending Proposal and Agreement packets. This reduces the forwarding delay.
The system view is displayed.
The view of the Ethernet interface that participates in spanning tree calculation is displayed.
The link type is set for the port.
By default, a port automatically identifies whether it is connected to a P2P link.
The following describes the link type that should be set for different interface working modes:
If the Ethernet interface works in full-duplex mode, the interface is connected to a P2P link. In this case, force-true can be specified in the command to implement rapid network convergence.
If the Ethernet interface works in half-duplex mode, you can run the stp point-to-point force-true command to forcibly set the link type to P2P.