Host loopback enables frames transmitted from the host on a port to be received on the same port and to be delivered the host.
Host loopback enables frames transmitted on a port from the host or generated in the FPGA to be received on the same port and to be delivered to the host. The host-loopback feature is useful in a development environment to transmit and receive frames on the same host without a pluggable module or a physical link.
The host-loopback functionality can be enabled using the config tool or using NTAPI.
# Enable host loopback on port 0. /opt/napatech3/bin/config --cmd set --port 0 --host_loopback onIt can also be configured using the NT_ConfigWrite function with the NT_CONFIG_PARM_PORT_SETTINGS_V2 parameter and the NtPortSettings_v2_s structure. Set NtPortSettings_v2_s.hostLoopback to 0 or 1 (see DN-0449).
/opt/napatech3/bin/config --cmd set --port 0 --txpower off