P4G_NAT

# set
<module-index>/<port-index> P4G_NAT [<group_index>] <on_off>

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

Description

Specify whether to support DUT Source NAT functionality. NAT should be enabled on both Client and Server ports that belong to the same CG.

Actions

set, get

Parameters

on_off: byte, specifying whether to enable Source NAT support
  • OFF = 0

  • ON = 1

Example

# set
input:  0/1 P4G_NAT [0] OFF
output: <OK>

# get
input:  0/1 P4G_NAT [0] ?
output: 0/1 P4G_NAT [0] OFF