PEF_VLANSETTINGS#

code: 1707

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

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

Description#

Defines what filter action is performed on the VLAN header.

Note

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

Actions#

set, get

Parameters#

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

  • OFF = 0

  • AND = 1

  1. action: byte, specifies the action of VLAN information

  • EXCLUDE = 0

  • INCLUDE = 1

Example#

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

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