PEF_TPLDCONFIG#

code: 1731

# set
<module-index>/<port-index> PEF_TPLDCONFIG [<flow_index>, <filter_type>, <test_payload_filter_index>] <use> <id>

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

Description#

Defines the TPLD filter configuration. There are only 16 TPLD filter, thus <test_payload_filter_index> is from 0 to 15.

Note

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

Actions#

set, get

Parameters#

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

  • OFF = 0

  • ON = 1

  1. id: integer, specifies the TPLD ID. Range: 0-2015, Default value: 0

Example#

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

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