PM_MATCH#

code: 205

# set
<module-index>/<port-index> PM_MATCH [<match_term_index>] <mask> <value>

# get
<module-index>/<port-index> PM_MATCH [<match_term_index>] ?

Description#

The value that must be found at the match term position for packets received on the port. The mask can make certain bit positions don’t-care.

Actions#

set, get

Parameters#

  1. mask: hex8, which bits are significant in the match operation

  2. value: hex8, the value that must be found for the match term to be true

Example#

# set
input:  0/1 PM_MATCH [0] 0xFF00000000000000 0x0000000000000000
output: <OK>

# get
input:  0/1 PM_MATCH [0] ?
output: 0/1 PM_MATCH [0] 0xFF00000000000000 0x0000000000000000