< Home

(Optional) Setting the Mode of Shutting Down an Interface When a Unidirectional Link Is Detected

Context

When a unidirectional link is detected, DLDP shuts down the corresponding interface in either of the following ways:

  • Manual mode: When the network performance is poor, this mode can prevent DLDP from affecting packet forwarding by shutting down the interface immediately when a unidirectional link is detected. It is a compromise mode used to prevent interface shutdown due to incorrect judgment of the system. In this mode, DLDP detects unidirectional links, and the network administrator manually shuts down the interface. Upon detecting a unidirectional link, DLDP records only log and trap messages and prompts the network administrator to shut down the interface.

  • Automatic mode: It is the default mode. When a unidirectional link is detected, DLDP changes to the Disable state, records the log and trap messages, and sets the interface status to Shutdown.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run dldp unidirectional-shutdown { auto | manual }

    The interface shutdown mode when a unidirectional link is detected is set.

    By default, DLDP automatically shuts down the interface when a unidirectional link is detected.

    An interface in DLDP Down state still sends RecoverProbe packets periodically. If the interface receives correct RecoverEcho packets, the unidirectional link changes to the bidirectional link and the DLDP status of the interface becomes Up.

    When the network performance is good, the automatic mode is recommended. When the network performance is low, the manual mode is recommended because the automatic mode may lead to a delay in receiving DLDPDUs and a unidirectional link may be detected incorrectly. The network administrator manually shuts down the interface, preventing packet forwarding from being affected by automatic interface shutdown.

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