PEF_IPV4SRCADDR#

code: 1715

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

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

Description#

Basic mode only. Defines the IPv4 Source Address settings for the IPv4 filter.

Note

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

Actions#

set, get

Parameters#

  1. use: byte, specifies the use of IPv4 Source Address information

  • OFF = 0

  • ON = 1

  1. value: address, specifying the four bytes of the address. Default value: 0.0.0.0

  2. mask: hex4, specifying the filter mask of the value. Default value: 0xFFFFFFFF

Example#

# set
input:  0/1 PEF_IPV4SRCADDR [1,0] OFF 192.168.1.100 0xFFFFFFFF
output: <OK>

# get
input:  0/1 PEF_IPV4SRCADDR [1,0] ?
output: 0/1 PEF_IPV4SRCADDR [1,0] OFF 192.168.1.100 0xFFFFFFFF