P4G_L2_USE_GW
# set
<module-index>/<port-index> P4G_L2_USE_GW [<group_index>] <is_enabled>
# get
<module-index>/<port-index> P4G_L2_USE_GW [<group_index>] ?
Description
Specify whether to use the resolved default gateway’s MAC address as the destination MAC address in the packets.
Actions
set, get
Parameters
is_enabled
: byte, specifying whether to use gateway’s MAC address as the destination MAC address in the packets.NO = 0
YES = 1
Example
# set
input: 0/1 P4G_L2_USE_GW [0] NO
output: <OK>
# get
input: 0/1 P4G_L2_USE_GW [0] ?
output: 0/1 P4G_L2_USE_GW [0] NO