P4G_IP_VERSION

# set
<module-index>/<port-index> P4G_IP_VERSION [<group_index>] <version_number>

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

Description

Specifies either IPv4 or IPv6.

Actions

set, get

Parameters

version_number: VulcanIPVersion, IP version
  • IPV4 = 4

  • IPV6 = 6

Example

# set
input:  0/1 P4G_IP_VERSION [0] IPV4
output: <OK>

# get
input:  0/1 P4G_IP_VERSION [0] ?
output: 0/1 P4G_IP_VERSION [0] IPV4