The loopback-detect enable command enables loopback detection on all interfaces.
The undo loopback-detect enable command disables loopback detection on all interfaces.
By default, loopback detection is disabled on all interfaces.
Usage Scenarios
When loopback detection needs to be enabled on all or most of interfaces on a device, you can use the loopback-detect enable command to simplify configuration.
Precautions
After you run the loopback-detect enable command in the system view, the CPU usage increases because all interfaces send broadcast loopback detection packets at intervals.
Loopback detection occupies CPU resources; therefore, disable this function when it is not required.
Follow-up Procedure
If loopback detection is not required on an interface, run the undo loopback-detect enable command in the interface view to disable loopback detection.