PEF_ENABLE#

code: 1702

# set
<module-index>/<port-index> PEF_ENABLE [<flow_index>, <filter_type>] <state>

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

Description#

Defines if filtering is enabled for the flow.

Note

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

Actions#

set, get

Parameters#

  1. state: byte, state of the filter

  • OFF = 0

  • ON = 1

Example#

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

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