PEF_MPLSSETTINGS#

code: 1710

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

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

Description#

Basic mode only. Defines what filter action is performed on the MPLS header.

Actions#

set, get

Parameters#

  1. use: byte, specifies the use of MPLS information

  • OFF = 0

  • AND = 1

  1. action: byte, specifies specifies if MPLS information is expected

  • EXCLUDE = 0

  • INCLUDE = 1

Example#

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

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