P4G_L2_GW

# set
<module-index>/<port-index> P4G_L2_GW [<group_index>] <ipv4_address> <mac_address>

# get
<module-index>/<port-index> P4G_L2_GW [<group_index>] ?

Description

Specify a default gateway for IPv4.

Actions

set, get

Parameters

ipv4_address: address, IPv5 address of the gateway

mac_address: hex list, the MAC address of the gateway

Example

# set
input:  0/1 P4G_L2_GW [0] 192.168.1.100 0x000000000000
output: <OK>

# get
input:  0/1 P4G_L2_GW [0] ?
output: 0/1 P4G_L2_GW [0] 192.168.1.100 0x000000000000