< Home

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

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the interface that participates in spanning tree calculation is displayed.

  3. 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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >