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#
use
: byte, specifies the use of Ethernet Source Address information.
OFF = 0
ON = 1
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