When testing some special functions, for example, locating an Ethernet fault, you need to enable loopback detection on Ethernet interfaces to check whether the interfaces are working properly. After loopback detection is enabled on an Ethernet interface, the interface is in Up state if it works properly, and is in Down state if it fails.
After internal loopback detection is enabled on an interface, other functions may be affected. After the test is complete, run the undo loopback command to disable loopback detection. The original configuration on the interface is then restored.
The system view is displayed.
The interface view is displayed.
Internal loopback detection is configured on the Ethernet interface.
By default, internal loopback detection is disabled on an Ethernet interface.
Run the display interface [ interface-type [ interface-number ] ] command in any view or the display this interface command in the interface view to check the current interface status. Check the Loopback field in the command output.
After loopback detection is enabled on an interface, the Speed field in the display this interface command output indicates the configured interface rate or the rate of the installed optical module, copper module, or network cable, and the Bandwidth field in the display interface ethernet brief command output indicates the actual interface rate.