PF_ENABLE#
code: 214
# set
<module-index>/<port-index> PF_ENABLE [<filter_index>] <on_off>
# get
<module-index>/<port-index> PF_ENABLE [<filter_index>] ?
Description#
Whether a filter is currently active on a port. While a filter is enabled its condition cannot be changed, nor can any match term or length terms used by it.
Actions#
set, get
Parameters#
on_off
: byte, whether the filter is enabled
OFF = 0
ON = 1
Example#
# set
input: 0/1 PF_ENABLE [0] OFF
output: <OK>
# get
input: 0/1 PF_ENABLE [0] ?
output: 0/1 PF_ENABLE [0] OFF