PEF_TPLDSETTINGS#
code: 1730
# set
<module-index>/<port-index> PEF_TPLDSETTINGS [<flow_index>, <filter_type>] <use> <action>
# get
<module-index>/<port-index> PEF_TPLDSETTINGS [<flow_index>, <filter_type>] ?
Description#
Defines if filtering on TPLD field in a packet is used for flow filtering. The TPLD filter allows filtering based on the Xena Test payload ID. The Test payload ID is meta data, which can be inserted into the Ethernet packets by Xena traffic generators. For each flow filter, can the filter be based on 16 TPLD ID values.
Note
For set
, the only allowed filter_type
is shadow-copy. .
Actions#
set, get
Parameters#
use
: byte, specifies the use of TPLD information.
OFF = 0
AND = 1
action
: byte, specifies the action of TPLD information.
EXCLUDE = 0
INCLUDE = 1
Example#
# set
input: 0/1 PEF_TPLDSETTINGS [1,0] OFF EXCLUDE
output: <OK>
# get
input: 0/1 PEF_TPLDSETTINGS [1,0] ?
output: 0/1 PEF_TPLDSETTINGS [1,0] OFF EXCLUDE