P4G_L2_IPV6_GW

# set
<module-index>/<port-index> P4G_L2_IPV6_GW [<group_index>] <ipv6_address> <mac_address>

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

Description

Specify a default gateway for IPv6.

Actions

set, get

Parameters

ipv6_address: string, the 16 bytes of IPv6 address of gateway

mac_address: hex list, the MAC address of the gateway

Example

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

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