< Home

(Optional) Setting the Recovery Time of an Interface

Context

An LBDT-enabled interface periodically sends LBDT packets to detect loops. After a loop is detected, an action configured by the loopback-detect action command is taken on the interface. In addition, the system counts the time. After the configured recovery time expires, the system attempts to restore the problematic interface. If the device does not receive detection packets from the problematic interface within the next recovery time, it considers that the loop is eliminated on the interface and restores the interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run loopback-detect recovery-time recovery-time

    The interface recovery time after a loop is removed is set.

    By default, the interface recovery time is three times the interval for sending LBDT packets.

    • It is recommended that the interface recovery time be three times the packet sending interval at least. If the packet sending interval has been set to a small value, the interface recovery time should be at least 10 seconds longer than the packet sending interval.
    • Automatic recovery is valid for Trap, Quitvlan, Block, and No learning.
    • If the action is set to shutdown, the shutdown interface cannot be automatically restored after a loopback is eliminated. You must run the shutdown and undo shutdown commands or run the restart command to enable the interface again. In addition to the preceding methods, the interface that is manually shut down or enters the Error-Down state due to other protocols will be automatically restored after the recovery time. However, the interface that is disabled only by LBDT cannot be restored after the recovery time.

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