PEF_ETHDESTADDR#

code: 1705

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

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

Description#

Defines the Ethernet Destination Address settings for the Ethernet filter.

Note

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

Actions#

set, get

Parameters#

  1. use: byte, specifies the use of Ethernet Destination Address information

  • OFF = 0

  • ON = 1

  1. value: hex6, specifying the six bytes of the address. Default value: 0x000000000000

  2. mask: hex6, specifying the mask corresponding to the address. Default value: 0xFFFFFFFFFFFF

Example#

# set
input:  0/1 PEF_ETHDESTADDR [1,0] OFF 0x000000000000 0xFFFFFFFFFFFF
output: <OK>

# get
input:  0/1 PEF_ETHDESTADDR [1,0] ?
output: 0/1 PEF_ETHDESTADDR [1,0] OFF 0x000000000000 0xFFFFFFFFFFFF