The loopbacktest command configures internal loopback detection on an interface.
By default, internal loopback detection is not configured.
Parameter |
Description |
Value |
---|---|---|
internal |
Configures internal loopback detection. Internal loopback detection is used to check whether the internal forwarding chip controls forwarding on the interface correctly.
|
- |
Ethernet interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view
You can run the loopbacktest command to check whether the internal forwarding chip functions properly.
Loopback detection is not required when an interface is shut down.
Loopback detection is not supported on a service stack interface.
The internal loopback detection result can be used only when no service is configured on the switch.
You cannot run the loopbacktest command to perform loopback detection on a fabric port.
After the energy-saving mode is set to basic or deep, loopback detection is disabled on an interface. Therefore, before performing loopback detection, set the energy-saving mode to standard.
# Configure internal loopback detection on GE0/0/1.
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] loopbacktest internal Warning: This command may conflict with other service configurations. It can only be used on a device with no configuration. Continu e?[Y/N]:y Info: This operation may take a few seconds. Please wait for a moment.................... Info: Loopback packet test succeeded.