P_IPV6ADDRESS#

code: 332

# set
<module-index>/<port-index> P_IPV6ADDRESS <ipv6_address> <gateway> <subnet_prefix> <wildcard_prefix>

# get
<module-index>/<port-index> P_IPV6ADDRESS ?

Description#

An IPv6 network configuration specified for a port. The address is used as the default source address field in the IP header of generated traffic, and the configuration is also used for support of the NDP and PINGv6 protocols.

Actions#

set, get

Parameters#

  1. ipv6_address: string, the IPv6 address of the port

  2. gateway: string, the gateway of the local network segment for the port

  3. subnet_prefix: short integer, the subnet prefix of the local network segment for the port

  4. wildcard_prefix: short integer, a prefix that makes the port replies to NDP/PING for the masked addresses, valid value 0-255

Example#

# set
input:  0/1 P_IPV6ADDRESS ::1 192.168.1.1 1 1
output: <OK>

# get
input:  0/1 P_IPV6ADDRESS ?
output: 0/1 P_IPV6ADDRESS ::1 192.168.1.1 1 1