PF_INDICES#

code: 211

# set
<module-index>/<port-index> PF_INDICES <filter_xindices>

# get
<module-index>/<port-index> PF_INDICES ?

Description#

The full list of which filters are defined for a port. These are the sub-index values that are used for the parameters defining the compound conditions on the match/length terms operating on the packets received for the port. Setting the value of this parameter creates a new empty filter for each value that is not already in use, and deletes each filter that is not mentioned in the list. The same can be accomplished one-filter-at-a-time using the PF_CREATE and PF_DELETE commands.

Actions#

set, get

Parameters#

  1. filter_xindices: integer list, the list of indices of filters to be created on a port.

Example#

# set
input:  0/1 PF_INDICES 0 1
output: <OK>

# get
input:  0/1 PF_INDICES ?
output: 0/1 PF_INDICES 0 1