loopback
Function
The loopback command enables loopback detection on an interface.
The undo loopback command disables loopback detection on an interface.
By default, loopback detection is not configured.
The AD9431DN-24X does not support the parameter remote.
Usage Guidelines
Usage Scenario
Loopback detection can be enabled to test some special functions, for example, locating faults on the Ethernet. After loopback detection is enabled, the Ethernet interface works in full-duplex mode. After loopback detection is disabled, the original duplex mode of the Ethernet interface is restored.
After remote loopback detection is configured, the local interface sends a packet received from the peer interface back to the peer interface, rather than forwarding the packet to the destination address.
Follow-up Procedure
Use a dedicated test tool to check whether the number of packets received and the number of packets sent on the Ethernet interface are the same. If not, the hardware is faulty. If yes, the hardware works properly.
Precautions
Loopback detection interrupts the operation of Ethernet interfaces and links. After loopback detection is performed, run the undo loopback command to disable loopback detection immediately.