Setting the Link Type of a Port
Context
Implementing fast convergence on a P2P link is easy. If the two ports connected to a P2P link are root or designated ports, the ports can transit to the forwarding state quickly by sending Proposal and Agreement packets. This reduces the forwarding delay.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of the interface that participates in spanning tree calculation is displayed.
- Run stp point-to-point { auto | force-false | force-true }
The link type of the interface is set.
By default, the link type of a port is auto.
If the Ethernet port works in full-duplex mode, the port is connected to a P2P link. You can specify force-true to implement fast convergence.
If the Ethernet port works in half-duplex mode, specify force-true to forcibly set the link type to P2P to implement fast convergence.
In other situations, specify auto so that the port identifies whether it is connected to a P2P link.
- Run commit
The configuration is committed.