P_ARPREPLY#

code: 118

# set
<module-index>/<port-index> P_ARPREPLY <on_off>

# get
<module-index>/<port-index> P_ARPREPLY ?

Description#

Whether the port replies to ARP requests. The port can reply to incoming ARP requests by mapping the IP address specified for the port to the MAC address specified for the port. ARP/NDP reply generation is independent of whether traffic and capture is on for the port.

Actions#

set, get

Parameters#

  1. on_off: byte, whether the port replies to ARP requests

  • OFF = 0

  • ON = 1

Example#

# set
input:  0/1 P_ARPREPLY OFF
output: <OK>

# get
input:  0/1 P_ARPREPLY ?
output: 0/1 P_ARPREPLY OFF