Configuring the Link Type for a Port
Context
Configuring a link type for a port as P2P can speed up 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.
By default, an interface automatically identifies whether it is connected to a P2P link.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of an Ethernet interface participating in STP calculation is displayed.
- Run stp point-to-point { auto | force-false | force-true }
The link type is set for the interface.
The following describes the link type that should be set for different interface working modes:
- Run commit
The configuration is committed.