ADC CLI Commands

nat64

The following operations can be performed on “nat64”:

add show rm unset set stat

add nat64

Configure a nat64 rule on the appliance.

Synopsis

add nat64 [-netProfile ]

Arguments

name Name for the NAT64 rule. Must begin with a letter, number, or the underscore character (_), and can consist of letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at sign (@), equals (=), colon (:), and underscore characters. Cannot be changed after the rule is created. Choose a name that helps identify the NAT64 rule.

acl6name Name of any configured ACL6 whose action is ALLOW. IPv6 Packets matching the condition of this ACL6 rule and destination IP address of these packets matching the NAT64 IPv6 prefix are considered for NAT64 translation.

netProfile Name of the configured netprofile. The Citrix ADC selects one of the IP address in the netprofile as the source IP address of the translated IPv4 packet to be sent to the IPv4 server.

show nat64

Display the nat64 configuration.

Synopsis

show nat64 []

Arguments

name Name for the NAT64 rule. Must begin with a letter, number, or the underscore character (_), and can consist of letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at sign (@), equals (=), colon (:), and underscore characters. Cannot be changed after the rule is created. Choose a name that helps identify the NAT64 rule.

Output

acl6name Name of any configured ACL6 whose action is ALLOW. IPv6 Packets matching the condition of this ACL6 rule and destination IP address of these packets matching the NAT64 IPv6 prefix are considered for NAT64 translation.

netProfile Name of the configured netprofile. The Citrix ADC selects one of the IP address in the netprofile as the source IP address of the translated IPv4 packet to be sent to the IPv4 server.

devno count stateflag

rm nat64

Remove the configured nat64 rule.

Synopsis

rm nat64

Arguments

name Name for the NAT64 rule. Must begin with a letter, number, or the underscore character (_), and can consist of letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at sign (@), equals (=), colon (:), and underscore characters. Cannot be changed after the rule is created. Choose a name that helps identify the NAT64 rule.

Example

rm nat64 name.

unset nat64

Use this command to remove nat64 settings.Refer to the set nat64 command for meanings of the arguments.

Synopsis

unset nat64 -netProfile

set nat64

Set the configured nat64 rule.

Synopsis

set nat64 [-acl6name ] [-netProfile ]

Arguments

name Name for the NAT64 rule. Must begin with a letter, number, or the underscore character (_), and can consist of letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at sign (@), equals (=), colon (:), and underscore characters. Cannot be changed after the rule is created. Choose a name that helps identify the NAT64 rule.

acl6name Name of any configured ACL6 whose action is ALLOW. IPv6 Packets matching the condition of this ACL6 rule and destination IP address of these packets matching the NAT64 IPv6 prefix are considered for NAT64 translation.

netProfile Name of the configured netprofile. The Citrix ADC selects one of the IP address in the netprofile as the source IP address of the translated IPv4 packet to be sent to the IPv4 server.

Example

set nat64 rule1 -acl6name acl1 .

stat nat64

Display statistics for nat64 sessions.

Synopsis

stat nat64 [-detail] [-fullValues] [-ntimes ] [-logFile ] [-clearstats ( basic full )]

Arguments

detail Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes The number of times, in intervals of seven seconds, the statistics should be displayed. Default value: 1 Minimum value: 0

logFile The name of the log file to be used as input.

clearstats Clear the statsistics / counters

Possible values: basic, full

Output

Counters

TCP Sessions (nat64TotTcpSessions) Total number of TCP sessions created by NAT64.

UDP Sessions (nat64TotUdpSessions) Total number of UDP sessions created by NAT64.

ICMP Sessions (nat64TotIcmpSessions) Total number of ICMP sessions created by NAT64.

Total Sessions (nat64TotSessions) Total number of sessions created by NAT64.

Example

stat nat64

nat64