PEF_ETHSRCADDR#

code: 1704

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

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

Description#

Defines the Ethernet Source 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 Source 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_ETHSRCADDR [1,0] OFF 0x000000000000 0xFFFFFFFFFFFF
output: <OK>

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