(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 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
- Run:
system-view
The system view is displayed.
- Run:
interface interface-type interface-number
The interface view is displayed.
- 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.