PEF_IPV4SETTINGS#
code: 1714
# set
<module-index>/<port-index> PEF_IPV4SETTINGS [<flow_index>, <filter_type>] <use> <action>
# get
<module-index>/<port-index> PEF_IPV4SETTINGS [<flow_index>, <filter_type>] ?
Description#
Basic mode only. Defines what filter action is performed on the IPv4 header.
Note
For set
, the only allowed filter_type
is shadow-copy.
Actions#
set, get
Parameters#
use
: byte, specifies the use of IPv4 information
OFF = 0
AND = 1
action
: byte, specifies the action of IPv4 information
EXCLUDE = 0
INCLUDE = 1
Example#
# set
input: 0/1 PEF_IPV4SETTINGS [1,0] OFF EXCLUDE
output: <OK>
# get
input: 0/1 PEF_IPV4SETTINGS [1,0] ?
output: 0/1 PEF_IPV4SETTINGS [1,0] OFF EXCLUDE