PEF_MPLSLABEL#

code: 1711

# set
<module-index>/<port-index> PEF_MPLSLABEL [<flow_index>, <filter_type>] <use> <value> <mask>

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

Description#

Basic mode only. Defines the MPLS label settings for the filter.

Note

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

Actions#

set, get

Parameters#

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

  • OFF = 0

  • ON = 1

  1. value: integer, specifying the 20-bit value of the label. Default value: 0.

  2. mask: hex3, specifying the 20-bit value of the label. Default value: 0x0FFFFF

Example#

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

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