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.
The system view is displayed.
The interface view is displayed.
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.
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.