P_PINGREPLY

code: 119

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

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

Description

Whether the port replies to IPv4/IPv6 PING. The port can reply to incoming IPv4/IPv6 PING requests to the IP address specified for the port. IPv4/IPv6 PING 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 IPv4/IPv6 PING requests

  • OFF = 0

  • ON = 1

Example

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

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