PEF_ETHSETTINGS#

code: 1703

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

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

Description#

Defines what filter action is performed on the Ethernet header.

Note

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

Actions#

set, get

Parameters#

  1. use: byte, specifies if Ethernet information is expected.

  • OFF = 0

  • AND = 1

  1. action: byte, specifies the use of Ethernet information.

  • EXCLUDE = 0

  • INCLUDE = 1

Example#

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

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