PEF_ANYSETTINGS#

code: 1728

# set
<module-index>/<port-index> PEF_ANYSETTINGS [<flow_index>, <filter_type>] <use> <action>

# get
<module-index>/<port-index> PEF_ANYSETTINGS [<flow_index>, <filter_type>] ?

Description#

Basic mode only. Defines if filtering on ANY field in a packet is used for flow filtering.

Note

For set, the only allowed filter_type is shadow-copy. .

Actions#

set, get

Parameters#

  1. use: byte, specifies the use of ANY field information.

  • OFF = 0

  • AND = 1

  1. action: byte, specifies the action of ANY field information.

  • EXCLUDE = 0

  • INCLUDE = 1

Example#

# set
input:  0/1 PEF_ANYSETTINGS [1,0] OFF EXCLUDE
output: <OK>

# get
input:  0/1 PEF_ANYSETTINGS [1,0] ?
output: 0/1 PEF_ANYSETTINGS [1,0] OFF EXCLUDE