The display loopback autoclear configuration command displays the loopback autoclear period.
The loopback autoclear command enables the system to automatically disable the interface loopback function.
The undo loopback autoclear command disables the system from automatically disabling the interface loopback function.
By default, the system cannot automatically disable the interface loopback function.
Usage Scenario
To locate faults, you may perform a local or remote loopback for an interface. If you forget to disable the local or remote loopback function after fault location is complete, services will be affected. To solve this problem, run the loopback autoclear command to configure the hold time of the interface loopback function. After the configured hold time elapses, the local or remote loopback function will be automatically disabled.
To view the loopback autoclear period, run the display loopback autoclear configuration command.In VS mode, this command is supported only by the admin VS.
Precautions
The hold time of the interface loopback function can be configured for physical interfaces.
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] display loopback autoclear configuration Loopback autoclear: Enable Loopback autoclear period: 5 minutes
<HUAWEI> system-view [~HUAWEI] loopback autoclear period 3
<HUAWEI> system-view [~HUAWEI] loopback autoclear
Item | Description |
---|---|
Loopback autoclear | Whether automatic loopback clearance is enabled:
|
Loopback autoclear period | Period of automatic loopback clearance. |