A10 - 4.1.4 GR1 P5 - Cli CGN
A10 - 4.1.4 GR1 P5 - Cli CGN
4-GR1-P5
Command Line Interface Reference for
CGN
for A10 Thunder® Series
23 September 2020
© 2020 A10 NETWORKS, INC. CONFIDENTIAL AND PROPRIETARY- ALL RIGHTS RESERVED
Information in this document is subject to change without notice.
PATENT PROTECTION
A10 Networks products are protected by patents in the U.S. and elsewhere. The following website is provided to satisfy the
virtual patent marking provisions of various jurisdictions including the virtual patent marking provisions of the America
Invents Act. A10 Networks' products, including all Thunder Series products, are protected by one or more of U.S. patents and
patents pending listed at:
https://www.a10networks.com/company/legal-notices/a10-virtual-patent-marking
TRADEMARKS
A10 Networks trademarks are listed at:
https://www.a10networks.com/company/legal-notices/a10-trademarks
CONFIDENTIALITY
This document contains confidential materials proprietary to A10 Networks, Inc. This document and information and ideas
herein may not be disclosed, copied, reproduced or distributed to anyone outside A10 Networks, Inc. without prior written
consent of A10 Networks, Inc.
Anyone who uses the Software does so only in compliance with the terms of the End User License Agreement (EULA), pro-
vided later in this document or available separately. Customer shall not:
1. Reverse engineer, reverse compile, reverse de-assemble, or otherwise translate the Software by any means.
2. Sub-license, rent, or lease the Software.
DISCLAIMER
This document does not create any express or implied warranty about A10 Networks or about its products or services,
including but not limited to fitness for a particular use and non-infringement. A10 Networks has made reasonable efforts to
verify that the information contained herein is accurate, but A10 Networks assumes no responsibility for its use. All informa-
tion is provided "as-is." The product specifications and features described in this publication are based on the latest informa-
tion available; however, specifications are subject to change without notice, and certain features may not be available upon
initial product release. Contact A10 Networks for current information regarding its products or services. A10 Networks’ prod-
ucts and services are subject to A10 Networks’ standard terms and conditions.
ENVIRONMENTAL CONSIDERATIONS
Some electronic components may possibly contain dangerous substances. For information on specific component types,
please contact the manufacturer of that component. Always consult local authorities for regulations regarding proper dis-
posal of electronic components in your area.
FURTHER INFORMATION
For additional information about A10 products, terms and conditions of delivery, and pricing, contact your nearest A10 Net-
works location, which can be found by visiting www.a10networks.com.
Table of Contents
OVERVIEW ....................................................................................................................... 11
3
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Contents
4
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Contents
5
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Contents
6
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Contents
COMMAND LINE INTERFACE REFERENCE FOR CGN CONFIG COMMANDS: MAP .......... 159
MAP Configuration Commands.............................................................................................. 159
cgnv6 map encapsulation domain ........................................................................................ 160
cgnv6 map encapsulation fragmentation inbound ........................................................... 161
cgnv6 map encapsulation fragmentation outbound ....................................................... 162
cgnv6 map translation domain .............................................................................................. 163
cgnv6 map translation fragmentation inbound ................................................................ 165
cgnv6 map translation fragmentation inbound df-set .................................................... 165
cgnv6 map translation fragmentation outbound .............................................................. 166
map inside ................................................................................................................................... 166
map outside ................................................................................................................................ 166
MAP Show Commands............................................................................................................. 167
show cgnv6 map encapsulation statistics ..........................................................................167
show cgnv6 map encapsulation domain .............................................................................167
show cgnv6 map translation statistics .................................................................................167
show cgnv6 map translation domain ................................................................................... 168
7
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Contents
8
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Contents
9
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Contents
10
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
OVERVIEW
This reference lists the ACOS CLI commands that apply specifically to IPv6 Migration features.
11
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
12
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
• cgnv6 enable-port-batch-v1
• cgnv6 logging
13
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
• cgnv6 lsn-lid
• cgnv6 lsn-radius-profile
• cgnv6 lsn-rule-list
• cgnv6 port-list
• cgnv6 resource-usage
14
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
• cgnv6 translation
• ip-list
• netflow monitor
• session-filter
Parameter Description
list-name Adds the list to the running-config.
file Saves the list to a file.
ipv4 | ipv6 Specifies the class-list type as IPv4 or IPv6.
This command changes the CLI to the configuration level for the
specified class list, where the following command is available.
NOTE: The other configuration commands at this level are not appli-
cable to LSN.
Command Description
[no] priv-addr/mask-length Specifies the internal clients. The priv-addr option specifies the
{glid num | internal host or subnet address. The /mask-length specifies the
lid num | network mask or mask length.
lsn-lid num |
lsn-radius-profile num}
• The glid num option specifies an global LSN LID to apply to
matching clients.
• The lid num option specifies a non-LSN LID to apply to match-
ing clients.
• The lsn-lid num option specifies an LSN LID to apply to match-
ing clients.
• The lsn-radius-profile num option specifies an LSN RADIUS
Profile Index to apply to matching clients.
Default None
15
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Usage Configure the LSN LIDs or Fixed-NAT LIDs before configuring the class
list entries.
Example The following commands configure a class list to bind internal subnet
5.5.5.x/24 to LSN LID 5:
cgnv6 enable-port-batch-v1
Description Enable Port Batching v1.
Default None
16
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
cgnv6 logging
Description Configure a severity level for NAT pool exhaustion log messages.
Parameter Description
nat-quota-exceeded Configure the warning level of error messages that occur when the NAT
pool quota is exceeded. The following options are available”
Default By default all resource exhaustion error messages are flagged as “Crit-
ical,” and all quota exceeded error messages are flagged as “Warning.”
Usage Use these command to configure a severity level for NAT pool exhaus-
tion messages. The following log messages fall into each category:
Resource Exhausted:
• LOG_MSG_A10LB_LSN_NAT_PORT_UNAVAILABLE
• LOG_MSG_A10LB_LSN_NEW_USER_RESOURCE_UNAVAIL-
ABLE
• LOG_MSG_A10LB_LST_IP_ALL_PORT_EXHAUSTED
• LOG_MSG_A10LB_LSN_USER_QUOTa_CREATION_FAILED
• LOG_MSG_A10LB_LSN_FULLCONE_CREATE_FAILED
• LOG_MSG_A10LB_NAT_121_POOL_STAT_ADDR_EXHAUSTED
• LOG_MSG_A10LB_FIXED_NAT_PORT_UNAVAILABLE_EXCESS
• LOG_MSG_A10LB_FIXED_NAT_PORT_UNAVAIL-
ABLE_ONE_USER
• LOG_MSG_A10LB_FIXED_NAT_PORT_UNAVAILABLE_EX-
CESS_NO_IPLIST
Quota Exceeded:
• LOG_MSG_A10LB_LSN_NAT_PORT_UNAVAILABLE
17
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
• LOG_MSG_A10LB_LSN_NEW_USER_RESOURCE_UNAVAIL-
ABLE
• LOG_MSG_A10LB_LSN_IP_ALL_PORT_EXHAUSTED
• LOG_MSG_A10LB_LSN_USER_QUOTA_CREATION_FAILED
• LOG_MSG_A10LB_LSN_FULLCONE_CREATION_FAILED
• LOG_MSG_A10LB_NAT_121_POOL_STAT_ADDR_EXHAUSTED
• LOG_MSG_A10LB_FIXED_NAT_PORT_UNAVAILABLE_EXCESS
• LOG_MSG_A10LB_FIXED_NAT_PORT_UNAVAIL-
ABLE_ONE_USER
• LOG_MSG_A10LB_FIXED_NAT_PORT_UNAVAILABLE_EX-
CESS_NO_IPLIST
• LOG_MSG_A10LB_FIXED_NAT_QUOTA_EXCEEDED_EXCESS
• LOG_MSG_A10LB_FIXED_NAT_QUOTA_EXCEED-
ED_ONE_USER
• LOG_MSG_A10LB_FIXED_NAT_QUOTA_EXCEEDED_EX-
CESS_NO_IPLIST
All *_ONE_USER errors extend to _TWO_USER, _THREE_USER,
_FOUR_USER, etc.
Parameter Description
esp Enables or disables ALG support for Encapsulating Security Payload
(ESP).
ftp Enables or disables ALG support for File Transfer Protocol (FTP).
h323 Enables or disables ALG support H323 standard.
mgcp Enables or disables ALG support for Media Gateway Control Protocol
(MGCP).
pptp Enables or disables ALG support for Point-to-Point Tunneling Protocol
(PPTP).
rtsp Enables or disables ALG support for Real Time Streaming Protocol
(RTSP).
sip Enables or disables ALG support for Session Initiation Protocol (SIP).
tftp Enables or disables ALG support for Trivial File Transfer Protocol (TFTP).
Default ALG support for FTP is enabled by default. ALG support for the other
protocols is disabled by default.
18
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Default 5
Default Enabled
Usage Even when port preservation is disabled, it is possible in rare cases for
the same protocol port to be used.
Parameter Description
tcp | udp Specifies the Layer 4 protocol. If you want to apply the command to both TCP and
UDP, enter the command twice, specifying a different protocol each time. The follow-
ing options are available:
Default Disabled
19
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Usage Ensure that both EIF and EIM are enabled for a destination port or a
port range. If EIF is enabled for a port where EIM is disabled or vice
versa, the EIM filtering will fail when packets are dropped.
Parameter Description
tcp | udp Specifies the Layer 4 protocol. If you want to apply the command to both TCP and
UDP, enter the command twice, specifying a different protocol each time.
Default Disabled
Usage Ensure that both EIF and EIM are enabled for a destination port or a
port range. If EIF is enabled for a port where EIM is disabled or vice
versa, the EIM filtering will fail when packets are dropped.
20
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
user-data
Default Disabled
Usage The information in the enhanced user tracking log can be used to
detect anomaly attack in the client’s network. The log information also
provides enhanced visibility for allocating user quota values for ses-
sions and ports. When there are new NAT IPs, the NAT port utilization
log helps to allocate the NAT IPs to the appropriate NAT pools for effi-
cient utilization.
Parameter Description
filter-none Allows for self-hairpinning for UDP packets only. This is the default behavior
for UDP packets.
filter-self-ip Drops packets that have the same inside client IP address for both the
source and destination.
filter-self-ip-port Drops packets that have the same inside client IP address and protocol port
number for both the source and destination. This option may be needed if
double NAT is used.
• filter-none - UDP
• filter-self-ip port - TCP
21
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Usage The LSN TCP half-closed timeout is separate from the TCP idle-time-
out. To configure TCP idle timeout, see “cgnv6 lsn-rule-list” on
page 34.
Replace ip-addr with the IPv4 or IPv6 address for the gateway for
enforcement.
Default Disabled.
Usage If any of the specified gateways fail a health check, the ACOS device
will discontinue advertising LSN NAT pool prefixes during route redis-
tributions. This command needs to be entered again for each gateway.
22
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Parameter Description
send-on-port-unavailable Sends ICMP Destination Unreachable message when there are no
protocol ports available for NAT mappings.
send-on-user-quota- Sends ICMP Destination Unreachable message when a a user quota is
exceeded exceeded.
admin-filtered Sends code type 3, code 13, administratively filtered.
disable Disable ICMP Unreachable messages for the specified event.
host-unreachable Sends code type 3, code 1 for IPv4, and type 1 code 3 for IPv6.
Default Enabled.
Usage This command disables or enables resetting of the age-out time for
NAT translation when inbound packets are received. This command
does not apply for outbound packets.
23
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Default None
Usage The class list must already be configured. You can import the class list
or configure it on the ACOS device. For more information, see the
“Large Scale NAT” chapter in the IPv4-to-IPv6 Transition Solutions
Guide.
Default random
24
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Usage The NAT logging template you plan to use as the default must already
be configured.
Example The following commands configure a NAT logging template, then set it
as the default logging template for LSN:
Parameter Description
shared Selects the shared partition.
Name Selects the partition name for logging.
25
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
NOTE: From a L3V partition, any other partition can also be referenced.
From a shared partition, only allowed L3V partition can be refer-
enced.
Parameter Description
pool-name Specifies the LSN pool.
template-name Specifies the NAT logging template.
Default Not set. If a NAT logging template has been set as the default NAT log-
ging template, that template is used.
Usage The NAT logging template you plan to use must already be configured.
Default Disabled
26
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Specifies the timeout of TCP ports in minutes. You can specify a value
between 0-10 minutes.
Default 2 minutes
Example The following example configures CGNv6 LSN port batching, with a
TCP timeout interval of 5 minutes before TCP ports in a batch can be
reused after they are released.
Parameter Description
tcp | udp Enable or disable port overloading behavior for TCP or UDP traffic spe-
cifically.
port-num [to port-num] Enables port overloading for the specified protocol and port or port
range.
27
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Parameter Description
destination-address The granularity is based on destination IP address.
destination-address-and- The granularity is based on destination IP address and destination
port protocol port.
Default destination-address-and-port
Parameter Description
priv-ipaddr Specifies the internal IP address.
start-priv-portnum Specifies the beginning (lowest-numbered) protocol port number in the
range of internal protocol port numbers.
end-priv-portnum Specifies the ending (highest-numbered) protocol port number in the
range of internal protocol port numbers.
public-ipaddr Specifies the public IP address to map to the internal IP address.
start-public-portnum Specifies the beginning public protocol port number in the range to map
to the internal protocol port numbers.
end-public-portnum Specifies the ending public protocol port number in the range to map to
the internal protocol port numbers.
Default None. If LSN is configured, LSN mappings are created and deleted
dynamically.
28
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Default None.
Usage Use this command to strictly adhere to the sticky NAT behavior.
Regardless of configuring destination IP addresses in the LSN rule-list
configuration, ACOS uses the same mapping for all traffic between the
client and the NAT IP addresses once the mapping is dynamically
assigned.
Parameter Description
tcp | udp Specifies the Layer 4 protocol. If you omit this option, the com-
mand applies to both TCP and UDP.
port port-num [to port-num] Specifies an individual port or a custom port range.
minutes Specifies the timeout, 0-60 minutes.
Usage If you do not use the ephemeral, well-known, or port option, the com-
mand applies to ports 1-65535.
Default 4
29
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Usage The LSN SYN timeout is separate from the IP NAT translation timeout.
Syntax [no] cgnv6 lsn tcp mss-clamp {none | fixed n | subtract s [min
n]}
Parameter Description
none Does not change the MSS value.
fixed n Changes the MSS to the length you specify.
subtract s [min n] Reduces the MSS if it is longer than the specified number of bytes. This
option sets the MSS based on the following calculations:
The subtract method of MSS clamping is used by default, with the following
values:
S = 40 bytes
N = 416 bytes
Using these values, the default MSS clamping calculations are as follows:
Default Enabled
30
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
cgnv6 lsn-lid
Description Configure a limit ID (LID) for LSN.
NOTE: Some LSN LID commands apply only to other features, and are
described in the chapters for those features.
This command changes the CLI to the configuration level for the
specified LSN LID, where the following commands are available.
NOTE: The other configuration commands at this level are not appli-
cable to LSN.
Command Description
[no] conn-rate-limit num The maximum number of connections a client can attempt to ini-
tiate per second. The value can range from 1-65535.
[no] ds-lite For Dual-stack Lite (DS-Lite), uses a class list to specify the
inside-src-permit-list list- hosts or subnets that are permitted to be NATted. Any IPv4
name addresses that do not match the class list are not NATted.
[no] extended-user-quota Configures a per-user extended quota for essential services. The
{tcp | udp} port option specifies the Layer 4 protocol port of the service, and
service-port portnum can be 1-65535. The sessions option specifies how many
sessions num extended sessions are allowed for the protocol port, and can be
1-255.
[no] lsn-rule-list Matches traffic based on destination IP address, traffic type, or
destination list-name protocol port, in addition to matching on the source IP addresses
in the class list that uses this LID.
(To configure an LSN rule list, see “cgnv6 nat icmp always-
source-nat-errors” on page 41.)
[no] name string Assigns a name to the LID.
31
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Command Description
[no] override Overrides NAT for matching traffic, and performs the specified
{none | drop | pass-through} action instead:
Default The LSN LID options have the following default values:
• ds-lite – not set
• extended-user-quota – not set
• lsn-access-list – not set
• name – not set
• override – not set
• respond-to-user-mac – disabled
• source-nat-pool – not set
• user-quota {tcp | udp | icmp} – Not set. By default, the reserve value
is the same as the user-quota value.
• user-quota sessions – not set
• user-quota-prefix-length – Uses the global NAT64 configured
value
Example The following commands configure an LSN LID. The LID is bound to
pool “LSN_POOL1”. Per-user quotas are configured for TCP, UDP, and
ICMP. For UDP, this class of users will reserve only 100 UDP ports
32
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Example The following commands configure a class list that maps inside clients
to the LSN LID:
cgnv6 lsn-radius-profile
Description Configure a RADIUS profile that assigns clients to LSN LIDs based on
the value of the custom attribute from the RADIUS server.
This command changes the CLI to the configuration level for the
specified RADIUS server profile, where the following command is
available.
33
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
NOTE: The other configuration commands at this level are not appli-
cable to LSN.
Parameter Description
radius Matches on the attribute values from the RADIUS server, and specifies
{default | the LSN LID to use for handling clients that have the matching attribute
attribute-type} value.
[exact-value string |
starts-with string]
The attribute-type can be one of the following:
lsn-lid num
• default – Matches on clients who do not have any of the following
custom attributes.
• msisdn – Matches on client MSIDSN.
• imei – Matches on client IMEI.
• imsi – Matches on client IMSI.
• custom1 – A10-CGN-Radius-Custom-1
• custom2 – A10-CGN-Radius-Custom-2
• custom3 – A10-CGN-Radius-Custom-3
The lsn-lid option specifies the LSN LID to use for handling clients that
have the matching attribute value.
cgnv6 lsn-rule-list
Description Configure an LSN rule list. You can add an LSN rule list to an LSN LID to
specify the actions to perform on matching traffic. This command
changes the CLI to the configuration level for the specified rule list.
NOTE: You also can use LSN rule lists for NAT64 and DS-Lite.
34
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Command Description
[no] default Enters the configuration level for the default set of rules. The default set of
rules is used for traffic that does not exactly match an IP host or subnet
rule. (See below.)
35
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Command Description
[no] Enters the configuration level for the set of rules to apply to the specified
domain-list-name domain list name.
string
• [no] dscp [any | dscp-value] action set-dscp
{inbound dscp-value [outbound dscp-value] |
outbound dscp-value [inbound dscp-value]}
• [no] icmp {action action | no-action}
• dnat ipv4-list list-name
• drop
• one-to-one-snat pool pool-name
• pass-through
• set-dscp {inbound dscp-value [outbound dscp-value] |
outbound dscp-value [inbound dscp-value]}
• snat pool {pool-name | pool-group-name}
• [no] others {action action | no-action}
• dnat ipv4-list list-name
• drop
• one-to-one-snat pool pool-name
• pass-through
• set-dscp {inbound dscp-value [outbound dscp-value] |
outbound dscp-value [inbound dscp-value]}
• snat pool {pool-name | pool-group-name}
• [no] tcp port {0 | portnum [to portnum]}
{action action | no-action}
• dnat ipv4-list list-name {no-snat | port-list num}
• drop
• one-to-one-snat pool pool-name
• pass-through
• set-dscp {inbound dscp-value [outbound dscp-value] |
outbound dscp-value [inbound dscp-value]}
• snat pool {pool-name | pool-group-name}
• template http-alg template-name
36
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Command Description
[no] Enters the configuration level for the set of rules to apply to the specified
domain-name string domain name.
37
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Command Description
[no] ip ipv4addr/ Enters the configuration level for the set of rules to apply to the specified
mask-length IP host address or subnet.
38
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
The no-action option excludes matching traffic from the actions in the rule
list, but still performs NAT for the traffic. (For more information, see the IPv4-
to-IPv6 Transition Solutions Guide.)
Mode None
39
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Usage After you configure the rule list, you can add it to an LSN LID. (See
“cgnv6 nat icmp always-source-nat-errors” on page 41.)
For NAT64, the traffic matching and action are applied to IPv4
addresses after conversion from IPv6 to IPv4.
For DS-Lite, the traffic matching and action are applied to inside IPv4
addresses after removing the IPv6 header.
The snat pool option applies only if the client does not have a NAT
session. If the client already has a NAT session, the sticky NAT feature
keeps the client on the same NAT address, regardless of the LSN rule-
list configuration. The option is not applicable to Fixed-NAT (Fixed-
NAT44, Fixed-NAT64 or Fixed-NAT for DS-Lite). For these features,
the option is ignored and the traffic is dropped. (For drop statistics, see
the "Fixed NAT Dest Rules List Source NAT Drop" counter in the output
of the show cgnv6 fixed-nat statistics command.
The one-to-one-snat option is not applicable to DS-Lite. For these
features, the option is ignored and the traffic is processed based only
on source IP address. (No rule list is applied.)
In an LSN rule list, you can configure the following types of rules:
• Rules for specific IP addresses or subnets
• Domain name
• Default rules
If traffic does not have a match in IP-specific rules or the default rule
list, the traffic is processed based only on source IP address. (No rule
list is applied.)
40
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Default By default, the ACOS device does not translate the source IP
addresses of ICMP error messages sent by inside routers into NAT
addresses.
Default By default, the ACOS device does not reply to ping requests that are
sent to NAT addresses (LSN NAT pool addresses). Instead, by default,
the ACOS device drops ping requests sent to LSN NAT pool addresses.
Default By default, the ACOS device does not reply to ping requests that are
sent to NAT addresses (LSN NAT pool addresses). Instead, by default,
the ACOS device drops ping requests sent to LSN NAT pool addresses.
Configuration mode
Syntax [no] cgnv6 nat inside source static source-addr nat-addr [vrid
num]
Default None.
41
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Syntax [no] cgnv6 nat inside source static partition name ipaddr [vrid
num]
Default None.
NOTE: Using the second form of the command shown above, you can
configure an address range in a CGN pool by entering a starting
address followed by the mask length. This allows use of
addresses that use non-zero values in the host portion.
Parameter Description
pool-name Name of the address pool.
start-ipaddr Beginning (lowest) IP address in the range.
end-ipaddr Ending (highest) IP address in the range.
42
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Parameter Description
netmask The netmask /mask-length option specifies the network mask. All
{subnet-mask | addresses within the resulting subnet are members of the pool, and can
/mask-length} be used by CGN for client mappings.
max-users-per-ip num Enables the pool to be used for Large Scale NAT (LSN).
• max-users-per-ip
• port-batch-v2-size
• shared
exclude-ip Excludes the specified IP address or address range from the pool.
start-ipaddr
[to end-ipaddr]
Default None.
43
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Parameter Description
pool-group-name Name of the pool group.
vrid vrid Adds the resource to a VRRP-A virtual router, identified by its virtual
router ID (VRID).
This command changes the CLI to the configuration level for the
specified pool group, where the following command is available.
(The other commands are common to all CLI configuration levels. See
the CLI Reference for SLB.)
Command Description
member pool-name Name of a configured IP address pool.
Default None.
Example The following commands create a pool group for LSN and add 25 pools
to the group:
44
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Default None.
Example The following command configures an IP source NAT static range list:
Command Description
tcp Configures the tcp port from which the specified
ports are excluded from the NAT pool.
udp Configures the udp port from which the specified
ports are excluded from the NAT pool.
45
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
This command changes the CLI to the configuration level for the
specified protocol, where the following command is available.
Command Description
port Configures a single port or a starting port range to be
excluded from the NAT pool.
to Port Range Configures an ending port range to be excluded from
the NAT pool.
Default tcp
The timeout-value lets you specify how many minutes before the NAT
one-to-one mapping expires. The value ranges from 0 to 180 minutes.
Configuring 0 minutes means that the mapping times out immediately
when there is no active session using that mapping.
46
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
NOTE: Using the second form of the command shown above, you can
configure an address range in a CGN pool by entering a starting
address followed by the mask length. This allows use of addresses
that use non-zero values in the host portion
Parameter Description
pool-name Name of the address pool.
start-ipaddr Beginning (lowest) IP address in the range.
end-ipaddr Ending (highest) IP address in the range.
netmask The netmask /mask-length option specifies the network mask. All
{subnet-mask | addresses within the resulting subnet are members of the pool, and can
/mask-length} be used by CGN for client mappings.
shared Allows L3V partitions running CGN to use this pool.
vrid vrid Adds the resource to a VRRP-A virtual router, identified by its virtual router
ID (VRID).
Default None
Parameter Description
pool-group-name Name of the pool group.
vrid vrid Adds the resource to a VRRP-A virtual router, identified by its virtual
router ID (VRID).
This command changes the CLI to the configuration level for the
specified pool group, where the following command is available.
(The other commands are common to all CLI configuration levels. See
the CLI Reference for SLB.)
Command Description
member pool-name Name of a configured IP address pool.
Default None.
47
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
The ACOS device selects the pool whose addresses are in the same
subnet as the next-hop interface used by the data route table to reach
the server.
Example The following commands create a pool group for LSN and add 25 pools
to the group:
cgnv6 port-list
Description Configure CGNV6 port list that contains the mapping between original
ports and translated ports.
Parameter Description
original-port Original port to be translated.
translated-port Port after translation.
Default None.
48
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
cgnv6 resource-usage
Description Configure CGNV6 resource usage.
Parameter Description
fixed-nat-inside-user-count Total configurable CGNV6 Fixed NAT inside users.
fixed-nat-ip-addr-count Total configurable CGNV6 Fixed NAT addresses
lsn-nat-addr-count Total configurable CGNV6 NAT Pool addresses
radius-table-size Total configurable CGNV6 RADIUS Table entries
stateless-entries Helper size for CGN Stateless Technologies.
Default None.
Parameter Description
source Configure a packet rate-limit per second based on an SCTP session source IP.
destination Configure a packet rate-limit per second based on an SCTP session destination IP.
ip-addr Specify the IP address of the source or the destination to rate-limit.
num Configure the packet rate-limit per second. The packets per second ran range from 1 -
2147483647.
Default None.
49
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
50
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
51
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Command Description
[no] Enables insertion of the client IP address into the headers of client
request-insert-client-ip HTTP requests. You can specify the following options:
[options]
• header-name string – Header name to insert, instead of the
default.
• include-tunnel-ip – Includes the tunnel IP Address in the inserted
header. This option applies only to DS-Lite sessions and 6rd-NAT64
sessions.
• method {append | replace} [header-name string | include-
tunnel-ip header-name string] – Method to use for adding the
header:
• append – Adds a new header field to the end of all the request
headers, regardless of how many headers are already in the
request. For example, if append is configured and header name
field displays the default, “X-Forwarded-For,” the new “X-For-
warded-For” header will be added to the end of all the headers in
the HTTP request. If append is configured and header-name is “X-
Client-IP,” the new “X-Client-IP” will be added to the end of all the
headers in the HTTP request.
• replace – Substitutes the configured header. For example, if
replace is configured and header-name is default, “X-Forwarded-
For,” it will be replaced by the new “X-Forwarded-For” header in
the HTTP request. If replace is configured and header-name is
“X-Client-IP,” it will be replaced by the new “X-Client-IP” in the
HTTP request.
If the packet has more than one header field of the same name, all
of them will be replaced.
[no] Inserts the client’s mobile number in client requests.
request-insert-msisdn
[options] • header-name string – Header name to insert, instead of the
default. The following option is available:
• radius-sg group-name secret string shared-secret – Spec-
ifies the group of RADIUS accounting servers to use for obtaining
client mobile numbers.
• radius-sg group-name secret string shared-secret – Speci-
fies the group of RADIUS accounting servers to use for obtaining cli-
ent mobile numbers. The following parameters are available:
• group-name – Name of the service group that contains the client
RADIUS servers.
• string – Authentication string the ACOS device and the client
RADIUS servers use to authenticate RADIUS traffic from one
another.
• retry num – Maximum number of additional times to send the
request, if it times out. You can specify 0-3. The default is 2.
• retry-svr-num num – Number of additional servers that can be
tried, if the first server does not respond after all retries have
timed out. You can specify 0 or 1. The default is 0.
• timeout seconds – Maximum number of seconds ACOS waits for
the server to reply, before trying again, trying another server (if
applicable), or giving up. You can specify 1-3 seconds. The default
is 2.
52
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Default Not set. When you configure an HTTP-ALG template, the default
header for client IP addresses is X-Forwarded-For. The other parame-
ters do not have default settings.
Example The following commands configure the HTTP-ALG template for inser-
tion of client IP in HTTP requests:
Example The following commands configure the HTTP-ALG template for inser-
tion of client mobile number in HTTP requests:
cgnv6 translation
Description Configure default idle-timeout values for services and protocol traffic
over LSN.
Parameter Description
icmp-timeout {num | fast} Configure an idle-timeout or fast aging for ICMP traffic
service-timeout {tcp | udp} Configure an idle-timeout or fast aging for specific services on a
port num {num | fast} port.
tcp-timeout num Configure an idle-timeout for TCP traffic.
udp-timeout num Configure an idle-timeout for UDP traffic.
53
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
ip-list
Description Configure a list of client addresses. IP lists can be used with features
such as Fixed-NAT and client mobile number logging.
This command changes the CLI to the configuration level for the
specified IP list, where the following command is available.
Command Description
[no] start-ipv4-addr to end-ipv4-addr Range of IPv4 addresses. Enter the lowest address
number in the range first.
[no] start-ipv6-addr to end-ipv6-addr Range of IPv6 addresses. Enter the lowest address
number in the range first.
Default None
Example The following commands configure an IP list. The IP list contains the IP
addresses of the RADIUS servers.
Within an IP-list entry, you can specify prefixes in any of the following
ways:
• Range – Specify the starting prefix and ending prefix in the range.
Example: 4001::/32 to 4025::/32
• Count – Specify the starting prefix, and the total number of pre-
fixes for the entry. The count can be 1-2147483647. Example:
6001::/16 count 1000
• Single prefix – Example: 2001:DB8::/32
The first two commands configure prefix ranges. The last command
configures a unicast address range.
54
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
netflow monitor
Description Enable the ACOS device to act as a NetFlow exporter, for monitoring
traffic and exporting the data to one or more NetFlow collectors for
analysis.
This command changes the CLI to the configuration level for the
specified NetFlow monitor, where the following commands are
available.
Command Parameter
[no] destination Configure the destination where NetFlow records will be sent by
{service-group sg-name | entering a service group (if using multiple NetFlow collectors), or
ip-addr} an IP address for a specific host.
disable Disable this NetFlow monitor.
disable-log-by-destination Disable logging by destination protocol and port. The following
options are available:
After the specified amount of time has elapsed, the ACOS device
will send any flow records to the NetFlow collector, even if the
flow is still active. The flow timeout can be set to 0-1440 minutes.
The flow timeout default value is 10 minutes.
55
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Configuration Commands
Command Parameter
[no] record Configure the NetFlow record types to be exported. (See the
netflow-template-type “NetFlow v9 and v10 (IPFIX)” chapter in the System Configuration
[both | and Administration Guide.)
creation |
deletion]
The netflow-template-type refers to the NetFlow template that
defines the NetFlow records to export, and it includes the follow-
ing template types:
The both, creation, and deletion options are only available for
session event and port mapping event templates. They are not
available for flow record templates.
56
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Configuration Commands
Command Parameter
[no] resend-template {records Configure when to resend the NetFlow template. The trigger can
num | timeout seconds} be either the number of records, or the amount of time that has
passed.
session-filter
Description Configure a session filter.
57
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Parameter Description
dest-addr portnum Matches on destination address.
dest-port portnum Matches on destination port.
ipv6 Matches specifically on IPv6 addresses.
sip Matches on SIP sessions.
source-addr portnum Matches on source address.
source-port portnum Matches on source port.
Usage Session filters allows you to save session display options for use with
the clear session and show session commands. Configuring a session
filter allows you to specify a given set of options one time rather than
re-entering the options each time you use the clear session or show
session command.
Example The following example sets session filter criteria of a forward destina-
tion IP and forward destination port:
58
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
59
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
tftp}
{config | statistics [debug]}
Parameter Description
esp | Specifies the protocol:
ftp |
h323| • esp – IPsec Encapsulating Security Payload (ESP)
mgcp |
• ftp – File Transfer Protocol (FTP)
pptp |
rtp-stun-timeout | • h323 – H.323 standard is a legacy voice-over-IP (VoIP) protocol.
rtsp | • mgcp – Media Gateway Control Protocol (MGCP)
sip | • pptp – Point-to-Point Tunneling Protocol (PPTP) Generic Routing Encapsu-
tftp lation (GRE)
• rtp-stun-timeout – Show RTP/RTCP STUN timeout configuration.
• rtsp – Real Time Streaming Protocol (RTSP)
• sip – Session Initiation Protocol (SIP)
• tftp – Trivial File Transfer Protocol (TFTP)
config | Specifies the type of information to display:
statistics [debug]
• config – Indicates whether ALG support for the protocol is enabled.
• statistics [debug] – Displays statistics for the protocol. The debug
option displays additional statistics.
Mode All
60
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Field Description
PORT Requests From Cli- Number of FTP PORT requests received from clients.
ent
EPRT Requests From Cli- Number of FTP EPRT requests received from clients.
ent
LPRT Requests From Cli- Number of FTP LPRT requests received from clients.
ent
PASV Replies From Server Number of passive mode replies received from servers.
EPSV Replies From Server Number of EPSV replies received from servers.
LPSV Replies From Server Number of LPSV replies received from servers.
Field Description
Calls Established Number of PPTP call sessions created.
Mismatched PNS Call ID Number of times PPTP call packets did not match the PNS call
ID.
GRE Sessions Created Number of PPTP GRE sessions created.
GRE Sessions Freed Number of PPTP GRE sessions freed.
No Matching GRE Session Number of times GRE packets did not match a GRE session.
Call ID Mismatch on Call Request Number of call IDs not matching call requests
Call ID Mismatch on Call Reply Number of call IDs not matching call replies.
61
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Streams Created 0
Streams Freed 0
Stream Creation Failures 0
Stream Client Ports Allocated 0
Stream Client Ports Freed 0
Stream Client Port Allocation Failures 0
Server Replies With Unknown Client Ports 0
Data Session Created 0
Data Session Freed 0
Data Session Creation Failures 0
Field Description
Streams Created Number of RTSP stream sessions created.
Streams Freed Number of RTSP stream sessions freed.
Stream Creation Failures Number of times creation of an RTSP stream failed because
the ACOS device was out of memory for sessions.
Stream Client Ports Allocated Number of NAT ports allocated to client for creating streams.
Stream Client Ports Freed Number of NAT ports freed.
Stream Client Port Allocation Failures Number of times port allocation for a stream failed.
Server Replies With Unknown Client Number of server replies to SETUP that were addressed to an
Ports unknown client port.
Data Session Created Number of UDP data sessions created for streaming video.
Data Session Freed Number of UDP data sessions freed.
Data Session Creation Failures Number of times creation of a data session failed because the
ACOS device was out of memory for sessions.
62
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Field Description
SIP Method REGIS- Number of SIP REGISTER messages received by the ACOS device.
TER
Note: This counter and all the following counters in the output apply to mes-
sages both from User Agent Servers (UASs) and User Agent Clients (UACs).
SIP Method INVITE Number of SIP INVITE messages received by the ACOS device.
SIP Method ACK Number of SIP ACK messages received by the ACOS device.
SIP Method CANCEL Number of SIP CANCEL messages received by the ACOS device.
SIP Method BYE Number of SIP BYE messages received by the ACOS device.
SIP Method OPTIONS Number of SIP OPTIONS messages received by the ACOS device.
SIP Method PRACK Number of SIP PRACK messages received by the ACOS device.
SIP Method SUB- Number of SIP SUBSCRIBE messages received by the ACOS device.
SCRIBE
SIP Method NOTIFY Number of SIP NOTIFY messages received by the ACOS device.
SIP Method PUBLISH Number of SIP PUBLISH messages received by the ACOS device.
SIP Method INFO Number of SIP INFO messages received by the ACOS device.
SIP Method REFER Number of SIP REFER messages received by the ACOS device.
SIP Method MES- Number of SIP MESSAGE messages received by the ACOS device.
SAGE
SIP Method UPDATE Number of SIP UPDATE messages received by the ACOS device.
SIP Method Number of SIP UNKNOWN messages received by the ACOS device.
UNKNOWN
63
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Parameter Description
all-partitions | Displays full-cone sessions for all partitions or for a particular partition.
partition partition-name
inside-user ipaddr Displays full-cone sessions only for the specified user.
pcp Displays full-cone sessions created by PCP requests.
pool pool-name Displays only the full-cone sessions that use a public IP address from
the specified LSN NAT pool.
Mode All
Example The following command shows currently active LSN full-cone ses-
sions:
Field Description
Information for Individual Sessions:
Prot Protocol of the session.
Inside Address Private IP address of the client.
NAT Address Public IP address mapped to the client’s private IP address.
Outbnd Number of active outbound EIM sessions.
Inbnd Number of active inbound EIF sessions.
Pool LSN NAT pool from which the public IP address was assigned.
CPU ACOS CPU on which the session resides.
64
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Field Description
Age Number of seconds the session has been in effect.
Flags Indicate that the full-cone session was created by traffic or
PCP.
Mode All
Example The following command shows LSN session information for an LSN
user:
Field Description
LSN User-Quota Ses- See “show cgnv6 lsn user-quota-sessions” on page 74.
sions
65
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Field Description
LSN Full-Cone Sessions See “show cgnv6 lsn full-cone-sessions” on page 64.
LSN Data Sessions Lists the following data session information for the user:
Parameter Description
nataddr Specifies the NAT IP address.
natport Specifies the NAT port.
Mode All
66
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
NFe0f0r0 LSN
Total Sessions: 1
Field Description
Prot Transport protocol.
Forward Source Client IP address when connecting to a VIP.
Notes:
• For DNS sessions, the client’s DNS transaction ID is shown instead of a protocol
port number.
• The output for connection-reuse sessions shows 0.0.0.0 for the forward source
and forward destination addresses.
• For source-IP persistent sessions, the value shown in the Forward Source col-
umn is a combination of the IP address and the port number. The first two bytes
of the displayed value are the third and fourth octets of the client IP address. The
last two bytes of the displayed value represent the client source port.
Forward Dest VIP to which the client is connected.
Reverse Source Real server’s IP address.
Note: If the ACOS device is functioning as a cache server (RAM caching), asterisks (
* ) in this field and the Reverse Dest field indicate that the ACOS device directly
served the requested content to the client from the ACOS RAM cache. In this case,
the session is actually between the client and the ACOS device rather than the real
server.
Reverse Dest IP address to which the real server responds.
Age Number of seconds since the session started.
Hash CPU ID.
Flags Processing path for the traffic:
• NF – Fast-path processing.
• NS – Slow-path processing.
Type Type of NAT traffic.
Mode All
67
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Mode All
Field Description
Inside Address Inside client’s IP address.
Start Beginning protocol port number in the inside address’ range.
End Ending protocol port number in the inside address’ range.
NAT Address Public IP address assigned to the client by LSN.
Start Beginning protocol port number that is statically mapped to the inside address’ port
range.
End Ending protocol port number that is statically mapped to the inside address’ port
range.
68
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Mode All
69
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Field Description
Total TCP Ports Allocated Total number of TCP ports allocated for user sessions.
Total TCP Ports Freed Total number of TCP ports freed for use by other sessions.
Total UDP Ports Allocated Total number of UDP ports allocated for user sessions.
Total UDP Ports Freed Total number of UDP ports freed for use by other sessions.
Total ICMP Ports Allocated Total number of ICMP ports allocated for user sessions.
Total ICMP Ports Freed Total number of ICMP ports freed for use by other sessions.
Data Session Created Total number of LSN data sessions created.
Data Session Freed Total number of LSN data sessions freed.
User-Quota Created Number of port mappings created for which the user quota had
available mappings.
User-Quota Freed Number of port mappings that were created for which the user
quota had available mappings, that were later freed.
User-Quota Creation Failed Number of times creation of a port mapping was unsuccessful
because the user quota had no free mappings.
TCP NAT Port Unavailable Number of times a TCP port for an LSN NAT session was unavail-
able.
UDP NAT Port Unavailable Number of times a UDP port for an LSN NAT session was unavail-
able.
ICMP NAT Port Unavailable Number of times an ICMP port for an LSN NAT session was
unavailable.
70
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Field Description
New User NAT Resource Unavail- Number of times LSN resources (ICMP, TCP, or UDP) were not
able available for a new user.
TCP User-Quota Exceeded Number of times the TCP quota for a user was exceeded.
UDP User-Quota Exceeded Number of times the UDP quota for a user was exceeded.
ICMP User-Quota Exceeded Number of times the ICMP quota for a user was exceeded.
Extended User-Quota Matched Number of times the extended user quota was used to create a
mapping.
Extended User-Quota Exceeded Number of times a NAT port was unavailable to a client because
the client had exceeded the extended user quota.
Data Session User-Quota Number of times a client exceeded their data session quota.
Exceeded
Conn Rate User-Quota Exceeded Number of times connection rate quota for a user was exceeded.
TCP Full-cone Session Created Total number of LSN TCP full-cone sessions created.
TCP Full-cone Session Freed Total number of LSN TCP full-cone sessions freed.
UDP Full-cone Session Created Total number of LSN UDP full-cone sessions created.
UDP Full-cone Session Freed Total number of LSN UDP full-cone sessions freed.
Full-cone Session Creation Failed Number of times creation of a full-cone session failed.
Hairpin Session Created Total number of LSN hairpin sessions created.
Self-Hairpinning Drop Number of hairpin sessions dropped because the source and des-
tination client were the same.
Endpoint-Independent Mapping Number of times LSN reused the LSN mapping assigned to a client
Matched for subsequent traffic for that client. (This is the benefit provided
by Endpoint independent mapping.)
Endpoint-Independent Filtering Number of times traffic from any source to a given mapped client
Matched was forwarded to the internal client, regardless of the endpoint.
(This is the benefit provided by Endpoint independent filtering.)
Endpoint-Dependent Filtering Number of times traffic to a mapped client was dropped because
Drop endpoint-independent filtering was not enabled, and the traffic
was not from the endpoint mapped to the client.
Endpoint-Independent Number of times the maximum number of Endpoint-Independent
Filtering Inbound Limit Exceeded Filtering (EIF) sessions allowed for a NAT mapping was exceeded.
NAT Pool Mismatch Drop Number of times traffic was dropped because matching traffic for
a current full-cone session or user-quota session uses a different
pool or pool group than the one redirected to by the rule list.
TCP Port Overloaded Number of times a TCP port on a NAT address was assigned to a
new client while another client was still using the mapping.
Note: This counter and the other Port Overloading counters apply
only if port overloading is configured.
UDP Port Overloaded Number of times a UDP port on a NAT address was assigned to a
new client while another client was still using the mapping.
71
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Field Description
TCP Port Overloading Session Number of times a session on an overloaded TCP port was cre-
Created ated.
UDP Port Overloading Session Number of times a session on an overloaded UDP port was cre-
Created ated.
TCP Port Overloading Session Number of times a session created on an overloaded TCP port was
Freed freed.
UDP Port Overloading Session Number of times a session created on an overloaded UDP port
Freed was freed.
NAT Pool Unusable Number of times traffic hit a disabled NAT IP.
HA NAT Pool Unusable Number of times traffic hit a disabled NAT IP in high availability
standby state.
No RADIUS Profile Match Number of times traffic did not match the RADIUS profile.
User-Quota Marked Unusable Number of times traffic hit the user quota.
User-Quota Unusable Drop Number of times traffic was dropped because the user quota had
been reached.
NAT IP TCP Max Ports Allocated Number of times a NAT IP’s all TCP ports have been
allocated.
NAT IP UDP Max Ports Allocated Number of times a NAT IP’s all UDP ports have been
allocated.
No Class-List Match Number of times traffic did not match the LSN class list.
LSN LID Drop Number of times traffic matched the drop action in the LSN LID,
and was dropped.
LSN LID Pass-through Number of times traffic matched the pass-through action in the
LSN LID, and was passed through without being NATted.
Mode All
72
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Data CPU 5 : 0%
Data CPU avg: 0%
Memory Status:
--------------
Total Memory(KB): 6123184
Used Memory(KB) : 4462824
Free Memory(KB) : 1660360
Memory Usage : 72.8%
Sessions Status:
----------------
LSN CPS : 0
Data Sessions Used: 0
Data Sessions Free: 16744443
SMP Sessions Used : 0
SMP Sessions Free : 16580608
Field Description
CPU Usage Shows utilization for each CPU. The average utilization for all CPUs also is shown.
Memory Status Shows memory usage information.
Sessions Status Shows usage and availability for LSN traffic sessions.
73
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Parameter Description
all-partitions | Displays session information for all partitions or for a particular parti-
partition partition-name tion.
inside-user ipaddr Displays session information only for the specified user IP address.
pool pool-name Displays session information only for the specified LSN NAT pool.
top num type Limits the display to the sessions with the highest counters for the
specified resource type. You can specify 1-100.
• all – Displays the sessions with the highest counters for all
resource types (ICMP, TCP, and UDP).
• icmp – Displays the sessions with the highest counters for ICMP.
• tcp – Displays the sessions with the highest counters for TCP.
• udp – Displays the sessions with the highest counters for UDP.
Mode All
Field Description
Inside Address Inside client’s IP address.
NAT Address Public IP address assigned to the client by LSN.
ICMP Number of ICMP ports from the quota that are in use.
UDP Number of UDP ports from the quota that are in use.
TCP Number of TCP ports from the quota that are in use.
Session Number of active sessions created by the client.
74
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Field Description
Pool Name of the pool from which the public address for the session
was selected.
LID Limit ID (LID) in which the user quota is configured.
Flag Displays a “U” if the quota is unusable.
Mode All
Parameter Description
list-name Displays information for the specified CGN rule list.
statistics Displays statistics. For each rule in the list, the number of times traffic matched the rule
(the number of “hits”) is listed.
Mode All
75
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Parameter Description
pool-name Displays statistics for the specified CGN pool.
statistics [options] Displays CGN pool statistics. The following filtering options are avail-
able:
76
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Field Description
Pool Name Name of the pool.
Start Address Starting address of the pool.
End Address Ending address of the pool.
Mask Network mask for the pool address range.
Gateway Default gateway to use for outbound client traffic mapped to an
address from this pool.
VRID VRRP-A VRID to which this pool is assigned, if applicable.
77
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Field Description
Address NAT (global) IP address.
Users Number of inside IP addresses currently using the NAT IP address.
ICMP Number of ICMP identifiers currently in use.
Freed Total number of ICMP identifiers freed.
(ICMP)
Total (ICMP) Total number of ICMP identifiers allocated.
For example, if an LID has the setting “user-quota udp 100 reserve 50”, and there are
50 users using the LID d on the NAT IP address, the Rsvd value is 50*50 = 2500.
TCP Number of TCP ports currently in use.
Freed (TCP) Total number of TCP ports freed.
Total (TCP) Total number of TCP ports allocated.
For example, if an LID has the setting “user-quota tcp 100 reserve 60”, and there are 10
users using the LID d on the NAT IP address, the Rsvd value is 10*60 = 600.
78
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
19.19.19.107 0 0
19.19.19.108 0 0
19.19.19.109 0 0
19.19.19.110 0 0
Example The following command shows the configuration of pool group “grp1”:
Parameter Description
statistics Displays NAT pool group statistics.
NOTE: To display the pool-group statistics for all pool groups, do not enter
any pool group name.
Example The following command shows the configuration of all pool groups.
79
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Default None.
Mode All
Default None.
Mode All
80
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Parameter Description
all-partitions | Displays mappings for all partitions or for a particular partition.
partition partition-name
inside-address ipaddr Displays information for a specific inside address.
inside-address-ipv6 ipv6-addr Displays information for a specific IPv6 inside address.
nat-address ipaddr Displays information for a specific NAT address.
partition partition-name Displays information for a specific partition.
pool pool-name Displays mappings for a specific NAT pool.
The shared option filters the output to include only pools that
are configured to be shared with L3V partitions. This option is
applicable when the command is entered from the shared parti-
tion, and displays mappings for pools that are configured in the
shared partition and that are enabled to be shared with L3V par-
titions.
Field Description
Inside IPv4 Address IPv4 inside address.
Inside IPv6 Address IPv6 inside address
NAT Address Public IP address assigned to the client by LSN.
Sessions Number of sessions using this mapping.
Age Age of this mapping.
Pool Name of the pool.
81
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
Parameter Description
pool [pool-name] Displays the name of the pool.
statistics Displays the one-to-one NAT pool usage.
82
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
LSN Show Commands
Default Use one of the options shown to specify the type of template to dis-
play.
83
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
LSN Show Commands
84
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
• ACOS implements PCP fully compliant with RFC6887, and it supports port mapping alloca-
tions for the following CGN features: LSN (NAT44), Dual-Stack Lite (DS-Lite), NAT64, and
Fixed-NAT LSN/DS-Lite/NAT64.
• Below are some important PCP features ACOS supports. This list is not all-inclusive:
85
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
PCP Configuration Commands
Usage When PCP is enabled, the ACOS device acts as a PCP server for Large
Scale NAT (LSN) clients (PCP clients). The ACOS device parses incom-
ing UDP packets arriving on the PCP port, extracts the relevant infor-
mation, and creates or refreshes the IPv4-IPv4 mapping as requested
by the PCP client. The ACOS device then sends a PCP response mes-
sage back to the PCP client. The mapping created for the client is an
implicit dynamic mapping.
This command changes the CLI to the configuration level for the
template, where the following commands are available.
86
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
PCP Configuration Commands
(The other commands are common to all CLI configuration levels. See
the Command Line Interface Reference (for ADC).
Command Description
[no] allow-third-party-from-lan Enables support for the third-party option in MAP requests
received on the LAN. This option instructs the ACOS device to
use the address specified in the MAP request, instead of the
source address of the request packet, as the internal address
for the mapping. By default, this option is disabled.
[no] allow-third-party-from-wan Enables support for the third-party option in MAP requests
received on the WAN. This option instructs the ACOS device to
use the address specified in the MAP request, instead of the
source address of the request packet, as the internal address
for the mapping. By default, this option is disabled.
[no] check-client-nonce Enable validation of the PCP MAP NONCE. By default, this
option is disabled.
[no] disable-map-filter Disable the process to FILTER in PCP MAP. By default, this
option is enabled.
[no] disable-opcode option Enable or disable the process for MAP/PEER/ANNOUNCE
Opcodes. Available options are:
• announce
• map
• peer
Default PCP disabled by default. To enable it, use this command to configure a
PCP template, then use the cgnv6 pcp default-template command to
activate it (“cgnv6 pcp default-template” on page 86).
87
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
PCP Show Commands
Usage The current release supports PCP only for IPv4-IPv4 mappings for LSN
clients. PCP is not supported for IPv6 mappings or for other IPv6
migration features (NAT64, DS-Lite, and so on).
ACOS supports RFC 6887- compliant Port Control Protocol (draft 29).
For more information, see RFC 6887. Draft versions 12 and 13 are no
longer supported.
Mode All
88
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
PCP Show Commands
Field Description
Packets Received Number of PCP request packets received by ACOS.
PCP MAP Request Processing Success Number of NAT44 PCP MAP requests received and pro-
(NAT44) cessed successfully by ACOS.
PCP MAP Request Processing Success Number of DS-Lite PCP MAP requests received and pro-
(DS-Lite) cessed successfully by ACOS.
PCP MAP Request Processing Success Number of NAT64 PCP MAP requests received and pro-
(NAT64) cessed successfully by ACOS.
PCP PEER Request Processing Success Number of NAT44 PCP PEER requests received and pro-
(NAT44) cessed successfully by ACOS.
PCP PEER Request Processing Success Number of DS-Lite PCP PEER requests received and pro-
(DS-Lite) cessed successfully by ACOS.
PCP PEER Request Processing Success Number of NAT64 PCP PEER requests received and pro-
(NAT64) cessed successfully by ACOS.
PCP ANNOUNCE Request Processing Number of NAT44 PCP ANNOUNCE requests received and
Success (NAT44) processed successfully by ACOS.
PCP ANNOUNCE Request Processing Number of DS-Lite PCP ANNOUNCE requests received and
Success (DS-Lite) processed successfully by ACOS.
PCP ANNOUNCE Request Processing Number of NAT64 PCP ANNOUNCE requests received and
Success (NAT64) processed successfully by ACOS.
Packet Not a PCP Request Number of packets which are not a PCP request (e.g. PCP
response).
Packet Too Short Number of packets which are too short to be a valid PCP
packet.
Response No Route Number of packets for which ACOS cannot find the route
on which to send back the PCP response.
89
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
PCP Show Commands
Field Description
Unsupported PCP version Number of packets using a PCP protocol version which
ACOS does not support.
PCP Request Not Authorized Number of PCP requests sent from an unauthorized client.
PCP Request Malformed Number of PCP requests which are malformed.
Unsupported PCP Opcode Number of PCP packets with an unsupported PCP Opcode
in the request.
Unsupported PCP Option Number of PCP packets with a mandatory PCP Opcode in
the request that is not supported by ACOS.
PCP Option Malformed Number of PCP packs with malformed PCP options in the
request.
No System or NAT Resources Number of PCP requests for which ACOS cannot allocate a
NAT port due to lack of available NAT ports or other system
resources.
Unsupported Mapping Protocol Number of packets for which the request port mapping is
for a protocol other than TCP/UDP.
User Quota Exceeded Number of packets for which ACOS cannot allocate a NAT
port due to an exceeded user quota for the client.
Cannot Provide Suggested Port When Number of packets for which ACOS cannot allocate the
PREFER_FAILURE suggested NAT port for PCP requests with a PREFER_-
FAILURE option.
PCP Client Address Mismatch Number of packets for which the client address in the PCP
payload is different from the source address of the PCP
packet.
Excessive Remote Peers Number of packets in which the PCP MAP request con-
tains too many filters for remote peers.
Packet Dropped For Not Coming From Number of PCP requests which are received from an ACOS
NAT Inside interface but are not permitted by the ACOS configuration
because they do not come from a NAT inside interface.
L3/L4 Process Error Number of PCP packets which contain an error in the L3/
L4 headers.
Internal Error Number of unexpected internal errors from ACOS.
Unsolicited Announce Sent Number of Unsolicited PCP Announce packets sent by
ACOS.
Unsolicited Announce Send Failure Number of times ACOS fails to send an Unsolicited PCP
Announce packets.
HA Sync PCP Epoch Sent For an HA Active box, the number of PCP epoch sync
messages sent to a Standby box
HA Sync PCP Epoch Recv For an HA Standby box, the number of PCP epoch sync
messages received from the Active box.
90
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
The commands in this chapter configure global settings for NAT64 / DNS64.
• cgnv6 server
• cgnv6 service-group
• cgnv6 dns64-virtualserver
91
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 Configuration Commands
Parameter Description
ipv6-addr/nn Specifies the prefix.
class-list list-name Specifies a class list of inside source parameters for the prefix.
vrid vrid Adds the resource to a VRRP-A virtual router, identified by its virtual
router ID (VRID).
cgnv6 server
Description Configure the local DNS server to be proxied.
This command creates the server and changes the CLI to the
configuration level for the server, where the following commands are
available.
NOTE: The other configuration commands at this level are not appli-
cable to DNS64 / NAT64.
Command Description
[no] health-check Enables health monitoring of the server. The monitor-name specifies the
{monitor-name} name of a configured health monitor.
If you omit this command or you enter it without the monitor-name option,
the default Layer 3 (ICMP) health monitor is used.
92
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 Configuration Commands
Command Description
[no] health-check- Disables health monitoring of the server.
disable
[no] port port-num Specifies the TCP or UDP port on which the server listens for traffic.
{tcp | udp}
enable | disable
If you omit the health-check command or you enter it without the mon-
itor-name option, the default UDP health monitor is used. (See “Usage”
below.)
[no] health-check-disable
Default None
Usage The normal form of the cgnv6 server command creates a new real
server or edits an existing real server. The CLI changes to the configu-
ration level for the server. The “no” form of this command removes an
existing real server. The IP address of the server can be in either IPv4
or IPv6 format. ACOS devices support both address formats.
93
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 Configuration Commands
cgnv6 service-group
Description Configure a service group, which is a pool of one or more servers.
This command changes the CLI to the configuration level for the
specified service-group, where the following command is available:
NOTE: The other configuration commands at this level are not appli-
cable to DNS64 / NAT64.
Command Description
[no] health-check Enables health monitoring of the service group. The
[monitor-name] monitor-name specifies the name of a configured
health monitor.
[no] member {member-name} {portnum} Adds the external log server and port to the service
group.
[no] shared {group | partition} Configures the service group to share with either a
partition group or a single partition.
[no] traffic-replication-type [mir- Enables ACOS to duplicate the syslog messages and
ror-ip-repl] forward them to multiple collector servers.
Usage The normal form of this command creates a new or edits an existing
service group. The CLI changes to the configuration level for the ser-
vice group.
94
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 Configuration Commands
This command creates the template and changes the CLI to the
configuration level for the template, where the following DNS64-
related commands is available:
95
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 Configuration Commands
NOTE: The other configuration commands at this level are not appli-
cable to DNS64 / NAT64.
Command Description
[no] class-list Enables health monitoring of the service group. The monitor-
class-list lid num {conn-rate- name specifies the name of a configured health monitor.
limit | over-limit-action}
• conn-rate-limit configures the connection rate limit.
• dns configures DNS cache options. The following options
are available:
• cache-disable disables DNS cache.
• cache-enable enables DNS cache.
• ttl configures TTL for cache entry.
• weight configures weight for cache entry.
• over-limit-action configures the action when the con-
nection rate limit is exceeded. The following actions are
available:
• dns-cache-disable disables DNS cache when it
exceeds limit.
• dns-cache-enable enables DNS cache when it exceeds
limit.
• forward forwards the traffic even it exceeds limit.
• lockout Any new connection for certain time will not be
accepted.
• log logs a message.
[no] default-policy Specify the default action to take when a query does not
[nocache | cache] match any class-list entries.
[no] Disables the DNS template.
disable-dns-template
[no] dns-log-enable period Specify how often log messages are generated for DNS
period caching. (1-10000 minutes)
96
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 Configuration Commands
Command Description
[no] dns64 Enables or disables DNS64. This option is disabled by default.
The following options are available:
97
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 Configuration Commands
Command Description
[no] dns64 • ignore-rcode3-disable Ignores any DNS response with
rcode 3 in response to a AAAA query. The ACOS device
treats the response as empty, and sends an A query to the
same hostname. This option is useful for circumventing
DNS servers that are configured incorrectly to return
rcode=3 when they do not have any AAAA records for the
hostname, even though the hostname exists. When the
dns64 option is enabled, this sub-option is enabled.
• max-qr-length num Forwards the response from the DNS
server to the client without any modification to the
response, if the question-record length is greater than the
specified length. The length can be 1-1023 bytes. When the
dns64 option is enabled, this value is set to 128 by default.
• parallel-query Sends both an IPv6 AAAA request and
an IPv4 A request in parallel (at the same time) on behalf of
the client. When this option is enabled, the ACOS device
performs DNS64 synthesis if necessary, and forwards the
first valid response received to the client. (Empty
responses and errors are invalid.)
Command Description
[no] dns64 • trans-ptr [trans-ptr-query] Enables you to run PTR
queries for synthesized IPv6 addresses with the client. The
PTR queries are intercepted by DNS64 and converted into
PTR queries for their corresponding IPv4 addresses before
sending out.
Default None.
99
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 Configuration Commands
cgnv6 dns64-virtualserver
Description Configure the virtual server for the DNS proxy, to which clients will
send DNS queries.
This command creates the server and changes the CLI to the
configuration level for the virtual server, where the following
commands are available.
NOTE: The other configuration commands at this level are not appli-
cable to DNS64 / NAT64.
100
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 Configuration Commands
Command Description
[no] port port-number dns-udp Specifies the UDP port number and the port type, dns-
udp.
• service-group group-name
Default None
Mode DNS template configuration. See cgnv6 template dns for more infor-
mation.
Example This example shows how to use an IP NAT pool with DNS64:
101
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
NAT64 Configuration Commands
• cgnv6 lsn-lid
• ip nat inside
• ip nat-global reset-idle-tcp-conn
• ip frag timeout
• ip frag max-reassembly-sessions
102
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
NAT64 Configuration Commands
Parameter Description
list-name Adds the list to the running-config.
filename file Saves the list to a standalone file on the ACOS device.
NOTE: A class list can be exported only if you use the file option.
This command changes the CLI to the configuration level for the
specified class list, where the following command is available.
NOTE: The other configuration commands at this level are not appli-
cable to DNS64 / NAT64.
Command Description
[no] ipv6-addr/prefix Adds an entry to the class list.
{glid | lid | lsn-lid}
num • ipv6-addr/prefix – Specifies an IPv6 address or prefix on which
to perform an override action
• {glid | lid} num – Specifies a Global Limit ID (GLID) or a Limit ID
(LID) configured in a policy template. These options apply only to
NAT64 override.
• lsn-lid num – Specifies the LID that refers to the NAT pool (or
group of pools) containing the IPv4 address(es) to use for NATting
traffic from IPv6 clients to IPv4 servers.
Default None
Usage If you plan to use a GLID, see “glid (for NAT64 override)” on page 104. If
you plan to use a policy template instead, see “cgnv6 template policy”
on page 112.
103
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
NAT64 Configuration Commands
This command changes the CLI to the configuration level for the
specified GLID, where the following command is available.
NOTE: The other configuration commands at this level are not appli-
cable to DNS64 / NAT64.
Command Description
[no] dns64 Specifies the override action:
{disable |
exclusive-answer | • disable – Does not perform DNS64 processing on the client’s DNS
prefix ipv6-addr/nn} request. The client’s request is forwarded to the DNS server, and the
reply is sent to client without modification.
• exclusive-answer – Drops AAAA replies that contain specific IPv6
addresses or prefixes. In this case, the ACOS device sends an A query on
behalf of the client, then uses DNS64 to add synthesized IPv6 addresses
in the reply before sending the reply to the client.
• prefix ipv6-addr/nn – Uses a different NAT64 prefix to synthesize
IPv6 addresses in the reply to the client. You can use this option to load
balance NAT64 service across multiple ACOS devices.
Default None
Mode
104
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
NAT64 Configuration Commands
cgnv6 lsn-lid
Description Configure a Limit ID (LID) for NAT64. This LID will refer to the NAT pool
(or group of pools) containing the IPv4 address(es) to use for NATting
traffic from IPv6 clients to IPv4 servers.
NOTE: This command is not applicable to GLIDs or LIDs used for con-
figuring NAT64 override actions. To configure a GLID or LID for
NAT64 override, see “glid (for NAT64 override)” on page 104 or
“cgnv6 template policy” on page 112.
NOTE: The other configuration commands at this level are not appli-
cable to DNS64 / NAT64.
Command Description
[no] source-nat-pool pool-name Binds an IPv4 NAT pool to the LID.
[no] user-quota-prefix-length mask-length Assign a user quota to all users of a specific
IPv6 prefix.
Default None
105
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
NAT64 Configuration Commands
Syntax [no] cgnv6 nat64 alg {esp | ftp [options]| h323 | mgcp| pptp |
rtsp | sip | tftp}
{disable | enable}
Parameter Description
esp Enables or disables NAT64 ALG support for Encapsulating Security Payload
{enable |disable} (ESP).
ftp [options] Enables or disables NAT64 ALG support for File Transfer Protocol (FTP). The
options enable or disable command translation for compatibility with old
FTP servers.
Default ALG support for FTP is enabled by default, and all the command trans-
lation options are enabled by default except for “xlat-no-trans-pasv”.
ALG support for ESP, H323, MGCP, PPTP, RTSP, SIP, and TFTP is dis-
abled by default.
106
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
NAT64 Configuration Commands
Default Disabled. If the IPv6 packet is not fragmented, the Identification field
in the IPv4 header will be 0 by default.
Usage In some cases, servers will drop packets with a “0” in the Identification
field of an IPv4 header when the IPv6 packet is not fragmented. This
command forces the IPv4 header to have a non-zero number in that
Identification field whenever the IPv6 packet is not fragmented. By
default, when enabled, non-zero identification numbers are only
applied to packets between 88 and 1280 bytes. Using the optional all
command at the end configures a non-zero value in the Identification
field of the IPv4 packet for all non-fragmented IPv6 packets, regard-
less of packet size.
Default Insertion of headers that have the more-fragments bit set to zero and
the fragmentation-offset set to zero is disabled by default.
Usage This option applies to the IPv4-to-IPv6 traffic direction. When this
option is enabled, headers are inserted when the IPv4 Don’t Fragment
bit is not set.
107
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
NAT64 Configuration Commands
Paramete
r Description
df-set Configures the behavior for inbound fragmented packets when Don’t Fragment (DF) bit is
set. The following options are available:
108
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
NAT64 Configuration Commands
Parameter Description
send-icmp Enables sending of ICMP unreachable messages for inbound fragmented packets, and
[count num] disallows overriding the Don’t Fragment bit.
You can configure the number of ICMP messages sent when DF is set. The default is 1.
drop Drops inbound fragmented packets.
Parameter Description
drop Drops outbound fragmented packets.
ipv4 Allows fragmentation of outbound IPv4 packets.
send-icmpv6 Enables sending of ICMPv6 unreachable messages for outbound IPv6 fragmented
packets, and disallows overriding the Don’t Fragment bit.
Default ipv4
109
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
NAT64 Configuration Commands
Parameter Description
send-on-port-unavailable Sends ICMP Destination Unreachable message when there are no
protocol ports available for NAT mappings.
send-on-user-quota-exceeded Sends ICMP Destination Unreachable message when a a user quota
is exceeded.
host-unreachable Sends code type 3, code 1 for IPv4, and type 1 code 3 for IPv6.
admin-filtered Sends code type 3, code 13, administratively filtered.
disable Disable ICMP Unreachable messages for the specified event.
Default None
Usage To configure the class list, see “class-list (for NAT64)” on page 103.
110
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
NAT64 Configuration Commands
Syntax [no] cgnv6 nat64 tcp mss-clamp {fixed n | none | subtract s [min
n]}
Parameter Description
fixed n Changes the MSS to the length you specify.
none Does not change the MSS value.
subtract s Reduces the MSS if it is longer than the specified number of bytes. This option
[min n] sets the MSS based on the following calculations:
The subtract method of MSS clamping is used by default, with the following
values:
S = 20 bytes
N = 476 bytes
Using these values, the default MSS clamping calculations are as follows:
Default Enabled
Parameter Description
mask-length Prefix length, 1-128.
111
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
NAT64 Configuration Commands
Default 128
Usage You can apply a user quota prefix length on a global level or per LSN
LID basis. The user quota prefix length set for an LSN LID overrides the
global configuration value.
If the user quota prefix length is broader than the subnet to which the
LSN LID is bound, the user quota may not be enforced
This command changes the CLI to the configuration level for the
specified class list, where the following commands are available.
NOTE: The other configuration commands at this level are not appli-
cable to DNS64 / NAT64.
112
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
NAT64 Configuration Commands
Command Description
[no] class-list list-name Specifies the class list. The following sub-commands are available:
Default None
113
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
NAT64 Configuration Commands
ip nat inside
Description Enable IPv4 inside NAT on the interface connected to the IPv4 Inter-
net.
Default Disabled
ip nat-global reset-idle-tcp-conn
Description Enable client and server TCP Resets for NATted TCP sessions that
become idle.
Default Disabled
ip frag timeout
Description Configure IP fragmentation parameters.
Default 1000
ip frag max-reassembly-sessions
Description Configure the maximum number of pending reassembly sessions
allowed.
Default 100000
114
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 / NAT64 Show Commands
115
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 / NAT64 Show Commands
Field Description
Query Number of queries received from clients.
Response Number of responses received from the DNS server.
Note: The ACOS can send multiple queries to the server for a single query from a client.
In this case, the Query counter will increment by only 1 for the client’s request, while the
Response counter will increment by 1 for each response to each individual query sent by
the ACOS device to the DNS server. For example, a single client query can result in an
increment of 1 for Query and an increment of 2 for Response.
Q-Parallel Number of parallel queries sent out by the ACOS device.
Translated Number of A responses translated by DNS64 into AAAA responses.
Q-Passive Number of times DNS64 sent an A query to the DNS server, because the server sent an
empty response or error in response to a AAAA query.
Cache Number of times a AAAA reply was sent from the DNS64 cache.
Q-Changed When the change-query option is enabled in the DNS template, this counter indicates
the number of AAAA queries converted into A queries by DNS64.
Dropped When the passive-query option is disabled in the DNS template, this counter indicates
the number of empty responses or errors received from the DNS server.
Q-Bad Number of bad (malformed) query packets received on the DNS virtual port.
R-Bad Number of bad (malformed) response packets sent to the DNS server.
R-Error Number of DNS server responses with errors.
R-Empty Number of empty responses from the DNS server.
116
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 / NAT64 Show Commands
Syntax show cgnv6 nat64 alg {esp | ftp | h323 | mgcp | pptp | rtsp | sip
| tftp} config
Paramet
er Description
esp Shows whether NAT64 ALG support for Encapsulating Security Payload (ESP) is enabled.
ftp Shows whether NAT64 ALG support for File Transfer Protocol (TFTP) is enabled.
h323 Shows whether NAT64 ALG support for H.323 standard is enabled.
mgcp Shows whether NAT64 ALG support for Media Gateway Control Protocol (MGCP).
pptp Shows whether NAT64 ALG support for Point-to-Point Tunneling Protocol (PPTP) is
enabled.
rtsp Shows whether NAT64 ALG support for Real Time Streaming Protocol (RTSP) is enabled.
sip Shows whether NAT64 ALG support for Session Initiation Protocol (RTSP) is enabled.
tftp Shows whether NAT64 ALG support for Trivial File Transfer Protocol (TFTP) is enabled.
Mode All
Usage The following command shows the NAT64 ALG state for RTSP:
ACOS# show cgnv6 nat64 alg rtsp config
NAT64 RTSP ALG is disabled on TCP port 554
117
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 / NAT64 Show Commands
Parameter Description
ipv4-addr | ipv6-addr Specifies the IP address to convert.
Mode All
Example The following command shows the IPv4 version of IPv6 address
64:ff9b::c0a8:10a, using the well-known NAT64 prefix (64:ff9b::/96):
Parameter Description
all-partitions Show full-cone sessions for all partitions
partition partition-name Only show sessions from a specific partition.
pcp Displays only the full-cone sessions that were created by a PCP
request.
pool pool-name [shared] Displays only the full-cone sessions that use a public IP address from
the specified NAT pool.
Mode All
118
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 / NAT64 Show Commands
Field Description
Information for Individual Sessions:
NAT Address Public IPv4 or IPv6 address mapped to the client’s private IPv6
address.
Conns Number of connections currently using the session.
Pool NAT pool from which the public IP address was assigned.
CPU ACOS CPU on which the session resides.
Age Number of seconds the session has been in effect.
Statistics (brief option)
NAT64 TCP Full-cone Session Cre- Number of TCP full-cone sessions created.
ated
NAT64 TCP Full-cone Session Number of TCP full-cone sessions freed.
Freed
NAT64 UDP Full-cone Session Cre- Number of UDP full-cone sessions created.
ated
NAT64 UDP Full-cone Session Number of UDP full-cone sessions freed.
Freed
NAT64 Full-cone Session Creation Number of times an attempt to create a NAT64 full-cone session
Failed failed.
Mode All
Example The following command shows session information for NAT64 user
2001:10::100:
119
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 / NAT64 Show Commands
120
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 / NAT64 Show Commands
Field Description
NAT64 User-Quota Ses- Lists the following user-quota session information for the user:
sions
• Inside IPv6 – IPv6 address of the client
• NAT Address – Client IPv4 NAT address from the LSN pool on the ACOS
device
• ICMP – Number of ICMP sessions from the quota that are in use
• UDP – Number of UDP sessions from the quota that are in use
• TCP – Number of TCP sessions from the quota that are in use
• Pool – LSN NAT pool from which the NAT address for the session was
selected
• LID – Limit ID (LID) in which the user quota is configured
NAT64 Full-Cone Sessions Lists the following information for the user’s full-cone session:
121
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 / NAT64 Show Commands
Parameter Description
nataddr Specifies the NAT IP address.
natport Specifies the NAT port.
Mode All
122
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 / NAT64 Show Commands
Field Description
Prot Layer 4 protocol of the session.
IP Type The type of IP address:
• NF – Fast-path processing.
• NS – Slow-path processing.
Type Type of NAT traffic.
Mode All
Mode All
Field Description
Total TCP Ports Allocated Total number of TCP ports allocated for user sessions.
Total TCP Ports Freed Total number of TCP ports freed for use by other sessions.
Total UDP Ports Allocated Total number of UDP ports allocated for user sessions.
123
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 / NAT64 Show Commands
Field Description
Total UDP Ports Freed Total number of UDP ports freed for use by other sessions.
Total ICMP Ports Allocated Total number of ICMP ports allocated for user sessions.
Total ICMP Ports Freed Total number of ICMP ports freed for use by other sessions.
Data Session Created Total number of data sessions created.
Data Session Freed Total number of data sessions freed.
User-Quota Created Number of port mappings created for which the user quota had
available mappings.
User-Quota Freed Number of port mappings that were created for which the user
quota had available mappings, that were later freed.
User-Quota Creation Failed Number of times creation of a port mapping was unsuccessful
because the user quota had no free mappings.
TCP NAT Port Unavailable Number of times a TCP port for an LSN NAT session was unavail-
able.
UDP NAT Port Unavailable Number of times a UDP port for an LSN NAT session was unavail-
able.
ICMP NAT Port Unavailable Number of times an ICMP port for an LSN NAT session was
unavailable.
New User NAT Resource Unavail- Number of times LSN resources (ICMP, TCP, or UDP) were not
able available for a new user.
TCP User-Quota Exceeded Number of times the TCP quota for a user was exceeded.
UDP User-Quota Exceeded Number of times the UDP quota for a user was exceeded.
ICMP User-Quota Exceeded Number of times the ICMP quota for a user was exceeded.
Extended User-Quota Matched Number of times the extended user quota was used to create a
mapping.
Extended User-Quota Exceeded Number of times a NAT port was unavailable to a client because
the client had exceeded the extended user quota.
Data Session User-Quota Number of times a client exceeded their data session quota.
Exceeded
Conn Rate User-Quota Exceeded Number of times connection rate quota for a user was exceeded.
TCP Full-cone Session Created Total number of LSN TCP full-cone sessions created.
TCP Full-cone Session Freed Total number of LSN TCP full-cone sessions freed.
UDP Full-cone Session Created Total number of LSN UDP full-cone sessions created.
UDP Full-cone Session Freed Total number of LSN UDP full-cone sessions freed.
Full-cone Session Creation Failed Number of times creation of a full-cone session failed.
Hairpin Session Created Total number of LSN hairpin sessions created.
Self-Hairpinning Drop Number of hairpin sessions dropped because the source and des-
tination client were the same.
Endpoint- Number of times LSN reused the LSN mapping assigned to a cli-
Independent Mapping Matched ent for subsequent traffic for that client. (This is the benefit pro-
vided by Endpoint independent mapping.)
124
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 / NAT64 Show Commands
Field Description
Endpoint-Independent Number of times traffic from any source to a given mapped client
Filtering Matched was forwarded to the internal client, regardless of the endpoint.
(This is the benefit provided by Endpoint independent filtering.)
Endpoint-Dependent Number of times traffic to a mapped client was dropped because
Filtering Drop endpoint-independent filtering was not enabled, and the traffic
was not from the endpoint mapped to the client.
Endpoint-Independent Number of times the maximum number of Endpoint-Independent
Filtering Inbound Limit Exceeded Filtering (EIF) sessions allowed for a NAT mapping was exceeded.
TCP Port Overloaded Number of times a TCP port on a NAT address was assigned to a
new client while another client was still using the mapping.
Note: This counter and the other Port Overloading counters apply
only if port overloading is configured.
UDP Port Overloaded Number of times a UDP port on a NAT address was assigned to a
new client while another client was still using the mapping.
TCP Port Overloading Session Cre- Number of times a session on an overloaded TCP port was cre-
ated ated.
UDP Port Overloading Session Number of times a session on an overloaded UDP port was cre-
Created ated.
TCP Port Overloading Session Number of times a session created on an overloaded TCP port
Freed was freed.
UDP Port Overloading Session Number of times a session created on an overloaded UDP port
Freed was freed.
NAT Pool Unusable Number of times traffic hit a disabled NAT IP.
HA NAT Pool Unusable Number of times traffic hit a disabled NAT IP in high availability
standby state.
HA NAT Pool Batch Type Mis- Number of times traffic hit a mismatch of NAT pool batch type.
match
No RADIUS Profile Match Number of times traffic did not match the RADIUS profile.
Layer 3 Forwarded Packets Number of packets forwarded at Layer 3 because the IPv6 desti-
nation address did not match the NAT64 prefix.
Source Address Prefix Match Drop Number of times incoming traffic matched the NAT64 prefix, but
was dropped because it matched the drop action in the LSN-LID.
LSN LID Drop Number of times traffic matched the drop action in the LSN LID,
and was dropped.
LSN LID Pass-through Number of times traffic matched the pass-through action in the
LSN LID, and was passed through without being NATted.
No Class-List Match Number of times traffic did not match the LSN class list.
125
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 / NAT64 Show Commands
Parameter Description
all-partitions Show users in all partitions.
partition partition-name Sow users in a specific partition.
pool pool-name Displays session information only for the specified NAT pool.
prefix ipv6addr/prefix-length Displays session information only for the specified IPv6
address(es).
top num type Limits the display to the sessions with the highest counters for
the specified resource type. You can specify 1-100.
• all – Displays the sessions with the highest counters for all
resource types (ICMP, TCP, and UDP).
• icmp – Displays the sessions with the highest counters for
ICMP.
• tcp – Displays the sessions with the highest counters for
TCP.
• udp – Displays the sessions with the highest counters for
UDP.
Mode All
Field Description
Information for Individual Sessions:
Inside IPv6 Inside IP address of the client.
Prefix NAT Address Public IP address assigned to the client.
ICMP Number of ICMP sessions from the quota that are in use.
UDP Number of UDP sessions from the quota that are in use.
TCP Number of TCP sessions from the quota that are in use.
Session Pool Name of the pool from which the public address for the session was
selected.
LID Limit ID (LID) in which the user quota is configured.
Statistics (brief option)
126
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DNS64 / NAT64 Show Commands
Field Description
NAT64 User-Quota Created Number of port mappings created for which the user quota had
available mappings.
NAT64 User-Quota Freed Number of port mappings that were created for which the user
quota had available mappings, that were later freed.
NAT64 User-Quota Creation Number of times creation of a port mapping was unsuccessful
Failed because the user quota had no free mappings.
NAT64 TCP User-Quota Number of times the TCP quota for a user was exceeded.
Exceeded
NAT64 UDP User-Quota Number of times the UDP quota for a user was exceeded.
Exceeded
NAT64 ICMP User-Quota Number of times the ICMP quota for a user was exceeded.
Exceeded
NAT64 Extended User-Quota Number of times the extended user quota was used to create a
Matched mapping.
NAT64 Extended User-Quota Number of times a NAT port was unavailable to a client because the
Exceeded client had exceeded the extended user quota.
NAT64 Data Session Number of times a client exceeded their data session quota.
User-Quota Exceeded
127
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DNS64 / NAT64 Show Commands
128
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
The commands in this chapter configure global settings for Dual-Stack Lite (DS-Lite). DS-Lite
enables the ACOS device to act as an end-point for IPv4 traffic tunneled through an IPv6 link.
129
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DS-Lite Configuration Commands
Parameter Description
list-name Adds the list to the running-config.
filename file Saves the list to a file.
This command changes the CLI to the configuration level for the
specified class list, where the following commands are available.
NOTE: The other configuration commands at this level are not appli-
cable to DS-Lite.
Command Description
[no] Adds an entry to the class list.
ipv6-addr/prefix-length
lsn-lid num • ipv6-addr/prefix-length – Specifies the range of client IPv6 addresses
on which to match. These are the IPv6 addresses of the customer DS-Lite
routers.
• lsn-lid num – Specifies the LID number.
Default None
Usage Configure the DS-Lite LIDs before configuring the class-list entries. To
configure an LID for DS-Lite, see “cgnv6 nat icmp always-source-nat-
errors” on page 41.
For more information about DS-Lite, see the “Dual-Stack Lite” chapter
in the IPv4-to-IPv6 Transition Solutions Guide.
130
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DS-Lite Configuration Commands
Default ALG support for FTP is enabled by default. ALG support for the other
protocols is disabled by default.
Parameter Description
df-set send-icmp Enables sending of ICMP unreachable messages for inbound fragmented packets,
and disallows overriding the Don’t Fragment bit.
[df-set] drop Drops inbound fragmented packets.
Default By default, fragmentation for IPv6 tunnel packets is enabled but frag-
mentation of IPv4 packets within the tunnel is disabled. Override of
the Don’t Fragment bit is enabled.
131
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DS-Lite Configuration Commands
Parameter Description
df-set Enables sending of ICMP unreachable messages for outbound IPv4 fragmented
send-icmp packets, and disallows overriding the Don’t Fragment bit.
[df-set] drop Drops outbound fragmented packets.
Default By default, fragmentation for IPv6 tunnel packets is enabled but frag-
mentation of IPv4 packets within the tunnel is disabled. Override of
the Don’t Fragment bit is enabled.
132
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DS-Lite Configuration Commands
Parameter Description
send-on-port-unavailable Sends ICMP Destination Unreachable message when there are no
protocol ports available for NAT mappings.
send-on-user-quota-exceeded Sends ICMP Destination Unreachable message when a a user
quota is exceeded.
host-unreachable Sends code type 3, code 1 for IPv4, and type 1 code 3 for IPv6.
admin-filtered Sends code type 3, code 13, administratively filtered.
disable Disable ICMP Unreachable messages for the specified event.
Default None
Parameter Description
fix Fixes the checksum and forwards the traffic.
drop Drops the traffic.
133
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DS-Lite Configuration Commands
Default drop
Default propagate
Usage Layer 4 checksum handling applies to TCP, UDP, and ICMP packets
encapsulated within a DS-Lite tunnel.
Parameter Description
ipv6-tunnel-source Inside client’s tunnel source IPv6 address.
ipv6-tunnel-destination Inside client’s tunnel destination IPv6 address.
ipv4-inside-addr Client IPv4 address.
inside-start-portnum Beginning Layer 4 protocol port number in the port range to be
mapped.
inside-end-port Ending Layer 4 protocol port number in the port range to be mapped.
134
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DS-Lite Configuration Commands
Parameter Description
nat nat-ipaddr Public IPv4 address to map to the client IPv4 address.
nat-start-portnum Beginning Layer 4 protocol port number to map to the inside port
range.
nat-end-portnum Ending Layer 4 protocol port number to map to the inside port range.
Default None
Parameter Description
fixed n Changes the MSS to the length you specify.
none Does not change the MSS value.
subtract s Reduces the MSS if it is longer than the specified number of bytes. This option sets the
[min n] MSS based on the following calculations:
The subtract method of MSS clamping is used by default, with the following values:
S = 40 bytes
N = 416 bytes
Using these values, the default MSS clamping calculations are as follows:
135
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DS-Lite Show Commands
Default Enabled
Default 128
Usage You can apply a user quota prefix length on a global level or per LSN
LID basis. The user quota prefix length set for an LSN LID overrides the
global configuration value.
If the user quota prefix length is broader than the subnet to which the
LSN LID is bound, the user quota may not be enforced. For the
command show cgnv6 ds-lite user-quota-sessions, if a user quota
prefix length is configured, only the prefix quota is displayed. If the
prefix quota is not set, only the user quota session is displayed.
136
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DS-Lite Show Commands
Syntax show cgnv6 ds-lite alg {ftp | h323 | mgcp | pptp | rtsp | sip |
tftp} config
Mode All
The pool-name option displays sessions only for the specified pool. If
you omit this option, sessions for all pools are shown.
The pcp options only displays full-cone sessions created by PCP
requests.
Mode All
Field Description
Information for Individual Sessions:
Protocol Layer 4 protocol of the session.
Inside IPv6 Client DS-Lite router’s IPv6 address.
Inside Address Client’s IPv4 address.
NAT Address Global IPv4 address assigned to the client by the ACOS device
for communicating with the IPv4 server.
Inbound Number of inbound connections.
Outbound Number of outbound connections.
Pool IP address pool from which the NAT address was assigned.
CPU ACOS CPU on which the session resides.
Age Number of seconds the session has been in effect.
Flags Value used by A10 Technical Support.
Statistics (brief option)
DS-Lite TCP Full-cone Session Cre- Number of TCP full-cone sessions created.
ated
DS-Lite TCP Full-cone Session Number of TCP full-cone sessions freed.
Freed
137
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DS-Lite Show Commands
Field Description
DS-Lite UDP Full-cone Session Number of UDP full-cone sessions created.
Created
DS-Lite UDP Full-cone Session Number of UDP full-cone sessions freed.
Freed
DS-Lite Full-cone Number of times an attempt to create a DS-Lite full-cone ses-
Session Creation Failed sion failed.
Mode All
Example The following command shows session information for DS-Lite user
2001:10::100:
138
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DS-Lite Show Commands
Field Description
DS-Lite User-Quota Ses- Lists the following user-quota session information for the user:
sions
• Inside IPv6 – IPv6 address of the remote end of the tunnel
• NAT Address – Client IPv4 NAT address from the LSN pool on the ACOS
device
• ICMP – Number of ICMP sessions from the quota that are in use
• UDP – Number of UDP sessions from the quota that are in use
• TCP – Number of TCP sessions from the quota that are in use
• Pool – LSN NAT pool from which the NAT address for the session was
selected
• LID – Limit ID (LID) in which the user quota is configured
139
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DS-Lite Show Commands
Field Description
DS-Lite Full-Cone Ses- Lists the following information for the user’s full-cone session:
sions
• Prot – Protocol of the session
• Inside IPv6 – IPv6 address of the remote end of the tunnel
• Inside Address – IPv4 address and protocol port of the client
• NAT Address – Client IPv4 NAT address from the LSN pool on the ACOS
device
• Conns – Number of connections currently using the session
• Pool – LSN NAT pool from which the NAT address for the session was
selected
• CPU – ACOS CPU on which the session resides
• Age – Number of seconds the session has been in effect
DS-Lite Data Sessions Lists the following data session information for the user:
Parameter Description
nataddr Specifies the NAT IP address.
natport Specifies the NAT port.
Mode All
140
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DS-Lite Show Commands
--------------------------------------------------------------------------------------------------
Udp Fwd Src [3201::172]121.78.233.82:2468 300 4 NSe0f0r0 LSN
Fwd Dst [3201::200]9.9.9.173:10000
Rev Src 9.9.9.173:10000
Rev Dst 9.9.9.73:62178
Udp Fwd Src [3201::172]166.179.148.63:2469 300 5 NSe0f0r0 LSN
Fwd Dst [3201::200]9.9.9.173:10000
Rev Src 9.9.9.173:10000
Rev Dst 9.9.9.73:62183
Total Sessions: 2
Field Description
Prot Layer 4 protocol of the session.
IP Type The type of IP address:
• NF – Fast-path processing.
• NS – Slow-path processing.
Type Type of NAT traffic.
141
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DS-Lite Show Commands
Mode All
Field Description
Tunnel Src IPv6 Source IPv6 address of the tunnel on which the ACOS device receives the cli-
Address ent traffic.
Tunnel Dst IPv6 Destination IPv6 address of the tunnel on which the ACOS device receives the
Address client traffic.
Inside Address Client IPv4 address.
Inside Start Port Beginning Layer 4 protocol port number in the port range to be mapped.
Inside End Port Ending Layer 4 protocol port number in the port range to to be mapped.
NAT Address Public IPv4 address to map to the client IPv4 address.
NAT Start Port Beginning Layer 4 protocol port number to map to the inside port range.
NAT End Port Ending Layer 4 protocol port number to map to the inside port range.
Mode All
Field Description
Total TCP Ports Allocated Total number of TCP ports allocated for user sessions.
Total TCP Ports Freed Total number of TCP ports freed for use by other sessions.
Total UDP Ports Allocated Total number of UDP ports allocated for user sessions.
Total UDP Ports Freed Total number of UDP ports freed for use by other sessions.
Total ICMP Ports Allocated Total number of ICMP ports allocated for user sessions.
Total ICMP Ports Freed Total number of ICMP ports freed for use by other sessions.
Data Session Created Total number of data sessions created.
Data Session Freed Total number of data sessions freed.
User-Quota Created Number of port mappings created for which the user quota had
available mappings.
142
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DS-Lite Show Commands
Field Description
User-Quota Freed Number of port mappings that were created for which the user
quota had available mappings, that were later freed.
User-Quota Creation Failed Number of times creation of a port mapping was unsuccessful
because the user quota had no free mappings.
TCP NAT Port Unavailable Number of times a TCP port for an LSN NAT session was unavail-
able.
UDP NAT Port Unavailable Number of times a UDP port for an LSN NAT session was unavail-
able.
ICMP NAT Port Unavailable Number of times an ICMP port for an LSN NAT session was
unavailable.
New User NAT Resource Unavail- Number of times LSN resources (ICMP, TCP, or UDP) were not
able available for a new user.
TCP User-Quota Exceeded Number of times the TCP quota for a user was exceeded.
UDP User-Quota Exceeded Number of times the UDP quota for a user was exceeded.
ICMP User-Quota Exceeded Number of times the ICMP quota for a user was exceeded.
Extended User-Quota Matched Number of times the extended user quota was used to create a
mapping.
Extended User-Quota Exceeded Number of times a NAT port was unavailable to a client because
the client had exceeded the extended user quota.
Data Session User-Quota Number of times a client exceeded their data session quota.
Exceeded
TCP Full-cone Session Created Total number of LSN TCP full-cone sessions created.
TCP Full-cone Session Freed Total number of LSN TCP full-cone sessions freed.
UDP Full-cone Session Created Total number of LSN UDP full-cone sessions created.
UDP Full-cone Session Freed Total number of LSN UDP full-cone sessions freed.
Full-cone Session Creation Failed Number of times creation of a full-cone session failed.
Hairpin Session Created Total number of LSN hairpin sessions created.
Self-Hairpinning Drop Number of hairpin sessions dropped because the source and des-
tination client were the same.
Endpoint-Independent Mapping Number of times LSN reused the LSN mapping assigned to a client
Matched for subsequent traffic for that client. (This is the benefit provided
by Endpoint independent mapping.)
Endpoint-Independent Number of times traffic from any source to a given mapped client
Filtering Matched was forwarded to the internal client, regardless of the endpoint.
(This is the benefit provided by Endpoint independent filtering.)
Endpoint-Dependent Number of times traffic to a mapped client was dropped because
Filtering Drop endpoint-independent filtering was not enabled, and the traffic
was not from the endpoint mapped to the client.
Endpoint-Independent Number of times the maximum number of Endpoint-Independent
Filtering Inbound Limit Exceeded Filtering (EIF) sessions allowed for a NAT mapping was exceeded.
143
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DS-Lite Show Commands
Field Description
NAT Pool Mismatch Drop Number of times traffic was dropped because matching traffic for
a current full-cone session or user-quota session uses a different
pool or pool group than the one redirected to by the rule list.
TCP Port Overloaded Number of times a TCP port on a NAT address was assigned to a
new client while another client was still using the mapping.
Note: This counter and the other Port Overloading counters apply
only if port overloading is configured.
UDP Port Overloaded Number of times a UDP port on a NAT address was assigned to a
new client while another client was still using the mapping.
TCP Port Overloading Session Number of times a session on an overloaded TCP port was cre-
Created ated.
UDP Port Overloading Session Number of times a session on an overloaded UDP port was cre-
Created ated.
TCP Port Overloading Session Number of times a session created on an overloaded TCP port was
Freed freed.
UDP Port Overloading Session Number of times
Freed
a session created on an overloaded UDP port was freed.
NAT Pool Unusable Number of times traffic hit a disabled NAT IP.
HA NAT Pool Unusable Number of times traffic hit a disabled NAT IP in high availability
standby state.
HA NAT Pool Batch Type Mis-
match
No RADIUS Profile Match Number of times traffic did not match the RADIUS profile.
Truncated Packet Number of tunneled packets that were truncated because they
were longer than the Maximum Transmission Unit (MTU) on the
ACOS interface where the packet was received.
LSN LID Drop Number of times traffic matched the drop action in the LSN LID,
and was dropped.
LSN LID Number of times traffic matched the pass-through action in the
Pass-through LSN LID, and was passed through without being NATted.
No Class-List Match Number of times traffic did not match the LSN class list.
Permit Class-List Drop Number of packets dropped because they did not match the class
list’s permit list.
144
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DS-Lite Show Commands
Parameter Description
pool Shows currently active full-cone sessions only for the specified pool. If you omit this
pool-name option, sessions for all pools are shown.
top num type Limits the display to the sessions with the highest counters for the specified resource
type. You can specify 1-100.
• all – Displays the sessions with the highest counters for all resource types (ICMP,
TCP, and UDP).
• icmp – Displays the sessions with the highest counters for ICMP.
• tcp – Displays the sessions with the highest counters for TCP.
• udp – Displays the sessions with the highest counters for UDP.
Mode All
Field Description
DS-Lite User-Quota Created Number of port mappings created for which the user quota had
available mappings.
DS-Lite User-Quota Freed Number of port mappings that were created for which the user
quota had available mappings, that were later freed.
DS-Lite User-Quota Creation Number of times creation of a port mapping was unsuccessful
Failed because the user quota had no free mappings.
DS-Lite TCP User-Quota Number of times the TCP quota for a user was exceeded.
Exceeded
DS-Lite UDP User-Quota Number of times the UDP quota for a user was exceeded.
Exceeded
DS-Lite ICMP User-Quota Number of times the ICMP quota for a user was exceeded.
Exceeded
DS-Lite Extended User-Quota Number of times the extended user quota was used to create a
Matched mapping.
DS-Lite Extended User-Quota Number of times a NAT port was unavailable to a client because
Exceeded the client had exceeded the extended user quota.
DS-Lite Data Session User- Number of times a client exceeded their data session quota.
Quota Exceeded
Information for Individual Sessions:
145
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DS-Lite Show Commands
Field Description
DS-Lite User-Quota Created Number of port mappings created for which the user quota had
available mappings.
DS-Lite User-Quota Freed Number of port mappings that were created for which the user
quota had available mappings, that were later freed.
DS-Lite User-Quota Creation Number of times creation of a port mapping was unsuccessful
Failed because the user quota had no free mappings.
DS-Lite TCP User-Quota Number of times the TCP quota for a user was exceeded.
Exceeded
DS-Lite UDP User-Quota Number of times the UDP quota for a user was exceeded.
Exceeded
DS-Lite ICMP User-Quota Number of times the ICMP quota for a user was exceeded.
Exceeded
DS-Lite Extended User-Quota Number of times the extended user quota was used to create a
Matched mapping.
DS-Lite Extended User-Quota Number of times a NAT port was unavailable to a client because
Exceeded the client had exceeded the extended user quota.
DS-Lite Data Session User- Number of times a client exceeded their data session quota.
Quota Exceeded
Inside IPv6 Client DS-Lite router’s IPv6 address.
NAT Public IP address assigned to the client by DS-Lite.
ICMP Number of ICMP sessions from the quota that are in use.
UDP Number of UDP sessions from the quota that are in use.
TCP Number of TCP sessions from the quota that are in use.
Session The number of NAT sessions.
Pool Name of the pool from which the public address for the session
was selected.
LID Limit ID (LID) in which the user quota is configured.
146
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
The commands in this chapter configure global settings for the Lightweight 4over6 version of
Dual-Stack Lite (DS-Lite).
Lightweight 4over6 enables the ACOS device to route traffic between an IPv4 client’s IPv6
Customer Premises Equipment (CPE) and IPv4 servers. The IPv4 client’s CPU performs NAT to
assign a public IPv6 address to the client, then encapsulates the client’s NATted IPv4 traffic in
an IPv6 tunnel that is terminated on the ACOS device.
• cgnv6 lw-4o6
147
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Lightweight 4over6 Configuration Commands
NOTE: The cgnv6 lw-4o6 command can only be configured on the shared
partition.
Parameter Description
list-name Adds the list to the running-config.
filename file Saves the list to a file.
Example Create a class-list of NAT IPv4 address prefixes to use for route redis-
tribution, and apply the class-list to Lightweight 4over6.
cgnv6 lw-4o6
Description Configures LW-4over6.
148
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Lightweight 4over6 Configuration Commands
This command changes the CLI to the configuration level for the
specified class list, where the following command is available.
Command Description
[no] tunnel-address ipv6- Specifies the IPv6 address of the tunnel endpoint address. This
address command creates an individual binding-table entry and changes
the CLI to the configuration for that entry, where the following
command is available:
Default None
149
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Lightweight 4over6 Configuration Commands
Default None
Parameter Description
df-set {drop | The df-set option handles the packet when df-bit is set in the IPv4 header.
ipv4 | ipv6 |
send-icmp} The send-icmp option sends an ICMP Type 3 Code 4 (Destination unreachable
- Fragmentation needed and DF set) to the source of the packet. This is the
default option.
drop Drops inbound packets that requires fragmentation.
ipv4 Enables fragmentation for IPv4 packets, of which fragments are then encapsu-
lated in IPv6.
ipv6 Enables fragmentation for IPv4-in-IPv6 packets (after encapsulating IPv4 in
IPv6). This is the default option. Fragmentation occurs on the outer header.
Default By default, for packets set with df-set, the default is send-icmp. For
packets not set with df-set, the default is ipv6.
150
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Lightweight 4over6 Configuration Commands
Parameter Description
df-set {drop | The df-set option handles the packet when df-bit is set in the inner IPv4
ipv4 | send-icmp header.
| send-icmpv6}
The send-icmp option sends an ICMP Type 3 Code 4 (Destination unreachable
- Fragmentation needed) in the tunnel to the source of the packet. This is the
default option.
The send-icmpv6 option sends an ICMPv6 Type 2 Code 0 (Packet Too Big) to
the tunnel source.
drop Drops outbound packets that requires fragmentation.
ipv4 Enables fragmentation for IPv4 packets, after de-encapsulating the IPv4-in-
IPv6 packet.
send-icmpv6 Enables sending of ICMPv6 Type 2 Code 0 (Packet Too Big) to the tunnel
source.
Default By default, for packets set with df-set, the default is send-icmp. For
packets not set with df-set, the default is ipv4.
Parameter Description
filter-all Drops all hairpinning traffic.
filter-none Allows hairpinning without any restrictions.
151
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Lightweight 4over6 Configuration Commands
Parameter Description
filter-self-ip Drops packets that have the same inside client IP address for both the
source and destination.
filter-self-ip-port Drops packets that have the same inside client IP address and protocol port
number for both the source and destination. This option may be needed if
double NAT is used.
Default filter-none
Example After you enable health monitoring for one or more gateways. ACOS
will periodically check each gateway and drop Lightweight 4over6
traffic if any of the gateways are marked as down.
Parameter Description
drop Drops inbound ICMP traffic.
handle Handles inbound ICMP traffic.
Default handle
152
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Lightweight 4over6 Configuration Commands
Usage The feature applies only to inbound IPv4 traffic that is received on the
Lightweight 4over6 inside NAT interface. (See “cgnv6 lw-4o6” on
page 148.)
Default None
NOTE: The acl-num option specifies the ACL number for the ACL to be
applied to Lightweight 4over6 traffic.
Example The following example applies a class-list named “v-4o6” as the NAT
Prefix List for Lightweight 4over6.
Default Disabled
153
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Lightweight 4over6 Configuration Commands
Usage The feature applies only to outbound traffic on the Lightweight 4over6
outside NAT interface. (See “cgnv6 lw-4o6” on page 148.)
Default Disabled
Usage The feature applies only to inbound IPv4 traffic that is received on the
Lightweight 4over6 inside NAT interface. (See “cgnv6 lw-4o6” on
page 148.)
154
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Lightweight 4over6 Show Commands
Default Disabled
Parameter Description
entries Lists binding table entries in the order that they are added either
manually or from a file.
files Lists the Lightweight 4over6 binding tables on the ACOS device, and
their status.
155
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Lightweight 4over6 Show Commands
Parameter Description
statistics Displays binding-table statistics.
tunnel-address ipv6addr Displays information for the specified Lightweight 4over6 tunnel
[statistics] address. If you use the statistics option, statistics are listed.
Mode All
Mode All
Mode All
156
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Lightweight 4over6 Show Commands
Field Description
Total Entries Configured Total number of entries in the currently active binding table.
Self-Hairpinning Drops Number of packets dropped because both the source and destination
address information matched.
• Both the source and destination IP addresses are the same, and
match the IPv4 NAT address of any binding-table entry. For example:
source IP address 10.10.10.100:x to destination IP address
10.10.10.100:y.
• Both the source and destination IP addresses are the same and
match a binding-table entry, and the packet’s source and destination
protocol ports also match the protocol port(s) of the same bridging-
table entry. For example: source IP address 10.10.10.100:x to destina-
tion IP address 10.10.10.100:x.
Note: Packets dropped for these reasons also are counted in the All
Hairpinning Drops field (below).
All Hairpinning Drops Number of packets dropped because both the source and destination
IPv4 addresses matched entries in the binding table.
• The source IP address matches the IPv4 NAT address of any binding-
table entry.
• The destination IP address matches the IPv4 NAT address of any
binding-table entry.
• Any self-hairpinning drops occur. (See above.)
No-Forward-Match ICMPv6 Number of times an ICMPv6 Destination Unreachable message was
Sent sent to a client CPE, because traffic from the client partially matched a
binding-table entry but did not completely match any of the entries.
157
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Lightweight 4over6 Show Commands
Field Description
Forward Route Lookup Failed Number of times client-to-server traffic was dropped because no route
was available for forwarding it to the destination server.
Reverse Route Lookup Failed Number of times server-to-client traffic was dropped because no route
was available for forwarding it to the destination Lightweight 4over6
client.
LW-4over6 Interfaces not Number of packets dropped due to LW-4over6 interfaces not being
Configured Drops configured.
No Forward Binding Table Number of packets dropped because no matching forward binding
Entry Match Drops table entry was available.
No Reverse Binding Table Number of packets dropped because no matching reverse binding table
Entry Match Drops entry was available.
158
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
The commands in this chapter configure the Mapping of Address and Port (MAP) technology.
• map inside
• map outside
159
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
MAP Configuration Commands
Parameter Description
basic-mapping-rule Configure the IPv6 address or prefix, and allows
{prefix-rule rule-name | for MAP-E CPE to configure an IPv4 address
rule-ipv4-address-port-settings} based on the IPv6 prefix.
rule-ipv4-address-port-settings:
160
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
MAP Configuration Commands
Parameter Description
health-check-gateway {ipv4-addr | ipv6-addr | Configure a Health-check gateway for route with-
withdraw-route} drawn.
withdraw-route:
This command can be used to create a new MAP-E domain on the ACOS device, or it can be
used to enter the configuration level of an existing MAP-E domain in order to make changes to
the domain configuration.
Parameter Description
df-set {drop | The df-set option handles packet when df-bit is set in the IPv4 header.
ipv4 | ipv6 |
send-icmp} The send-icmp option sends an ICMP Type 3 Code 4 (Destination
unreachable - Fragmentation needed and DF set) to the source of the
packet. This is the default option.
drop Drops inbound packets that requires fragmentation.
ipv4 Fragments the encapsulated IPv4 packet when sent to the CPE.
ipv6 Fragments the IPv6 tunnel packet when sent to the CPE. This is the default
option. Fragmentation occurs on the outer header.
Default For packets set with df-set, the default is send-icmp. In other words,
ICMP Type 3 Code 4 (Fragmentation Needed and DF Set) is sent. For
packets not set with df-set, the default is ipv6.
161
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
MAP Configuration Commands
Parameter Description
df-set {drop | The df-set option handles the packet when df-bit is set in the inner IPv4
ipv4 | send-icmp header.
| send-icmpv6}
The send-icmp option sends an ICMP Type 3 Code 4 (Destination unreachable -
Fragmentation needed) in the tunnel to the tunnel source if the outbound
packet is to be fragmented. This is the default option.
The send-icmpv6 option sends an ICMPv6 Type 2 Code 0 (Packet Too Big) to
the tunnel source if the outbound packet is to be fragmented to be sent to the
server.
drop Drops outbound packets that requires fragmentation.
ipv4 Fragments the encapsulated IPv4 packet when sent to the server.
send-icmpv6 Enables sending of ICMPv6 Type 2 Code 0 (Packet Too Big) to the tunnel source
if the outbound packets is to be fragmented when sent to the server.
Default For packets set with df-set, the default is send-icmp. In other words,
ICMP Type 3 Code 4 (Fragmentation Needed and DF Set) is sent. For
packets not set with df-set, the default is ipv4.
162
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
MAP Configuration Commands
Parameter Description
basic-mapping-rule Configure the IPv6 address or prefix, and allows for
{prefix-rule rule-name | MAP-T CPE to configure an IPv4 address based on
rule-ipv4-address-port-settings} the IPv6 prefix.
• withdraw-route:
• all-link-failure – Withdraw routes on
health-check failure of all IPv4 gateways or all
IPv6 gateways
• any-link-failure – Withdraw routes on
health-check failure of any gateway (default)
163
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
MAP Configuration Commands
Parameter Description
mtu num Configure domain MTU value per domain to con-
figure the maximum size of each packet being
transmitted as determined by Transmission
Control Protocol (TCP).
tcp mss-clamp {fixed | none | subtract} Configure MSS to set the maximum size of a TCP
segment that can be processed in a single, un-
fragmented piece.
Usage This command can be used to create a new MAP-T domain on the
ACOS device, or it can be used to enter the configuration level of an
164
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
MAP Configuration Commands
Paramete
r Description
df-set MAP-T behavior if Don’t Fragment (DF) is set for oversize packets. By default, it is set to
send-icmp.
drop Silently drop the oversized packets. No warning or error message is sent.
ipv6 Use IPv6 fragmentation for oversized packets.
Usage This command is used to configure what action should be taken when
an oversized, inbound IPv4 packet is received. The default behavior is
to fragment all packets.
Paramete
r Description
drop Silently drop the oversized packets. No warning or error message is sent.
ipv6 Use IPv6 fragmentation for oversized packets, ignoring the DF flag.
send-icmp Send an ICMP error message saying that the packet is too large and needs to be frag-
mented, but the DF flag is set.
Default The default behavior is to send an ICMP error message when oversized
IPv4 packets with the DF-bit set are received.
Usage This command is used to configure what action should be taken when
165
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
MAP Configuration Commands
Parameter Description
drop Silently drop the oversized packets. No warning or error message
is sent.
ipv4 Use IPv4 fragmentation for oversized packets.
send-icmpv6 Send an ICMP error message saying that the packet is too large.
Usage This command is used to configure what action should be taken when
an oversized, outbound IPv6 packet is received.
map inside
Description This command enables MAP on the inside interface connected to the
CEs and the private IPv6 network.
Syntax [no] map inside
Default Disabled.
map outside
Description This command enables MAP on the outside interface connected to the
public IPv4 network.
Default Disabled.
166
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
MAP Show Commands
Default N/A
Mode All
The show command output for all MAP-T traffic (no domain specified)
is as follows:
MAP-T Statistics for domain 1:
---------------------------------
Inbound IPv4 Packets Received 0
Inbound IPv4 Fragment Packets Received 0
Inbound IPv4 Destination Address Validation Failed 0
Inbound IPv4 Reverse Route Lookup Failed 0
Inbound IPv6 Destination Address Unreachable 0
Outbound IPv6 Packets Received 0
Outbound IPv6 Fragment Packets Received 0
Outbound IPv6 Source Address Validation Failed 0
167
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
MAP Show Commands
Default N/A
Mode All
Default N/A
Mode All
168
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DDOS MITIGATION
• acos-application-only
• cgnv6 ddos-protection
• ip anomaly-drop
acos-application-only
Description Direct BGP update messages to ACOS applications only.
Usage After configuring a neighboring BGP router, route updates from this
neighboring router is treated specially using the acos-application-
169
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DDoS Mitigation Configuration Commands
cgnv6 ddos-protection
Description Enable or disable DDoS Mitigation for CGN.
Default Enabled.
Usage DDoS protection for CGN allows for selective filtering to match traffic
based on destination IP addresses and destination IP port. Selective
filtering tracks the number of protocol packets received to these 2-
tuples. An excess of packets is registered as a DDoS attack. ACOS then
logs the IP and IP port match and drops further packets.
Default Enabled.
Usage When selective filtering identifies 2-tuples that are being flooded and
drop the packets, ACOS can log the number of packets over the
threshold that are dropped.
170
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DDoS Mitigation Configuration Commands
Parameter Description
include-existing-session Count traffic associated with an existing session into the packets-per-
second. The default is disabled.
ip | other | tcp | udp Traffic type.
Usage DDoS protection for CGN allows for selective filtering to match traffic
based on destination IP addresses and destination IP port. Selective
filtering tracks the number of protocol packets received to these 2-
171
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DDoS Mitigation Configuration Commands
172
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DDoS Mitigation Configuration Commands
Parameter Description
action {log | drop | The following actions are available:
redistribute-route
route-map-name} expira- • log - Log the event only.
tion seconds timer-mul-
• drop - Log, and drop all packets (default).
tiply-max num
• redistribute-route - Log, drop, and notify upstream router to
reroute the packets.
• expiration - specifies (in seconds) how long the NAT IP traffic must
be below the configured packets-per-second threshold before the
NAT IP is removed from the Black List.
• timer-multiply-max - specifies the maximum value of the timer
multiplier for attacks that lasts long. If, during the remove-wait
period, ACOS detects DDoS attack again, the black hole entry is re-
initiated and the black hole timer is extended by multiplying the
number of times the expiration time.
num Maximum number of packets per second allowed. The maximum con-
figurable limit is 30000000 packets.
This command changes the CLI to the configuration level for the
specified LSN LID, where the following commands are available.
NOTE: The other configuration commands at this level are not appli-
cable to LSN DDoS Mitigation.
173
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DDoS Mitigation Configuration Commands
Command Description
[no] conn-rate-limit num The maximum number of connections a client can attempt to initiate
per second. The value can range from 1-65535.
NOTE: The default is to have no connection rate limit except for the max-
imum number of connections allowed, if configured elsewhere.
Any value from 1 to 65535 connections per second are allowed.
ip anomaly-drop
Description Enable filtering for IP packets that exhibit predictable, well-defined
anomalies. You can enable filtering for specific IP anomalies, or you
can enable filtering for the following types of IP anomalies:
174
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DDoS Mitigation Show Commands
Command Description
bad-content num Drop TCP packets that contain an invalid request. The num option speci-
fies the maximum number of connections allowed per IP before it is con-
sidered a DDoS attack, and the specified mitigation action is taken.
drop-all Drop all packets with IP anomalies.
frag Drop all fragmented packets.
ip-option Drop packets that have IP options
land-attack Drop packets that have the same source and destination address.
out-of-sequence num Specify the threshold of how many out-of-sequence packets the ACOS
device will receive before it drops all out-of-sequence packets. The
threshold can range from 1-127 out-of-sequence packets.
packet-deformity Drop packets with deformities.
{layer-3 | layer-4}
• layer-3 - network layer anomaly.
• layer-4 - transport layer anomaly.
security-attack Drop packets causing security attack.
{layer-3 | layer-4}
• layer-3 - network layer anomaly.
• layer-4 - transport layer anomaly.
ping-of-death Drop oversized ICMP packets.
tcp-no-flag Drop TCP packets that have no flag.
tcp-syn-fin Drop TCP packets that have both SYN and FIN flags set.
tcp-syn-frag Drop fragmented TCP packets that have SYN flag set.
zero-window num Drops packets with TCP window size set to 0. The num option specifies
the maximum number of connections allowed per IP before it is consid-
ered a DDoS attack, and the specified mitigation action is taken.
Example The following commands enable filtering and dropping of each group
of IP anomalies:
175
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DDoS Mitigation Show Commands
Example The following example displays sample output for the show cgnv6
ddos-protection disabled-ip-by-bgp command:
Mode All
Example The following example displays sample output for the show cgnv6
ddos-protection ip-entries command:
The following example displays sample output for the show cgnv6
ddos-protection ip-entries all command:
ACOS(config)# show cgnv6 ddos-protection ip-entries all
(*) L4 PPS Threshold Exceeded
176
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DDoS Mitigation Show Commands
NOTE: If you enter the all parameter, it lists all the NAT IPs and marks an
entry if it is a L4 entry or IP entry.
Usage The following table describes the fields for the show command output:
Field Description
Address The destination IP address that traffic is matched to.
L4 The Layer 4 protocol type. In the above example, L4 17 indicates UDP traffic.
Port The specific destination IP port that traffic is matched to.
PPS The number of packets that match the IP address and the given port in the last
10 seconds.
Mode All
177
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DDoS Mitigation Show Commands
Mode All
Example The following command displays sample output for IP anomaly drop
statistics:
178
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
DDoS Mitigation Clear Commands
179
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
DDoS Mitigation Clear Commands
180
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
The commands in this chapter configure stateless NAT46. Stateless NAT46 enables IPv4 clients
to reach IPv6 servers, without the need to maintain per-connection information on the ACOS
device.
181
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Stateless NAT46 Configuration Commands
Parameter Description
drop IPv4 fragmentation is not allowed. Oversize packets are dropped. No ICMPv6 error
message is sent.
ipv4 IPv4 fragmentation is allowed.
send-icmpv6 IPv4 fragmentation is not allowed. Oversize packets are dropped, and an ICMPv6 error
message is sent.
Default ipv4
Paramet
er Description
df-set Stateless NAT46 behavior if Don't Fragment (DF) bit is set for oversize packets. The
default is send-icmp.
drop IPv6 fragmentation is not allowed. Oversize packets are dropped. No ICMP error message
is sent.
ipv6 IPv6 fragmentation is allowed.
Default ipv6
182
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Stateless NAT46 Configuration Commands
Parameter Description
ipv6 IPv6 fragmentation is allowed.
drop IPv6 fragmentation is not allowed. Oversize packets are dropped. No ICMP error mes-
sage is sent.
send-icmp IPv6 fragmentation is not allowed. Oversize packets are dropped, and an ICMP error
message is sent.
Default send-icmp
Default None
Use this command to define a prefix that handles inter-partition NAT46 traffic going to L3V
partitions. If a VRID is configured for a prefix, then only VRID-active ACOS devices will advertise
this prefix.
183
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Stateless NAT46 Configuration Commands
Default None
The stateless NAT46 prefix must be 96 bits long. This leaves 32 bits for
the client’s IPv4 address.
Parameter Description
ipv4addr IPv4 server address to which IPv4 clients will send requests.
ipv6addr Server’s IPv6 address. Specify the lowest address in the range.
count num Specifies how many mappings to create. The IPv4 and IPv6 addresses of each map-
ping are incremented by 1 over the previous mapping.
shared This option is only available at the shared partition to share/expose this mapping with
other partitions. This configuration shares/exposes the v4-address to all partitions.
All traffic sent to this v4-address is initially handled as NAT46 traffic. If NAT46 fails,
the traffic will then be handled as normal traffic.
to-shared This option is only available at L3V partitions to send NAT-ed traffic through the
shared partition. This mapping is used for inter-partition traffic. Any matching IPv4
traffic is translated to IPv6 traffic using the prefix defined in the shared partition (the
partition-prefix configuration) and forward though the shared partition.
vrid vrid Assigns the mappings to a VRRP-A VRID.
Default None
184
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Stateless NAT46 Show Commands
Usage Depending on the size of the system resources, the following lists the
number of mappings supported:
• If the system memory is smaller than 16GB, then 1024 individ-
ual mappings are supported per partition.
• If the system memory is greater then 16GB, then 8K (8* 1024)
mappings are supported per partition.
Specify only the first mapping in the range, and how many mappings
to create. The ACOS device then automatically creates additional
mappings, up to the quantity specified.
The IPv4 and IPv6 addresses for each additional mapping are
incremented by 1 over the previous mapping. For example, suppose
you specify the following mapping, and a quantity of 10:
• 20.0.0.1 -> 2001::1
Mode All
185
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Stateless NAT46 Show Commands
Field Description
Outbound IPv4 packets received Number of client IPv4 packets received by the ACOS device.
Outbound IPv4 packets dropped Number of client IPv4 packets dropped by the ACOS device.
Outbound IPv4 fragment packets Number of IPv4 packet fragments received from clients by
received the ACOS device.
Outbound IPv6 destination unreach- Number of times the IPv6 destination was unreachable.
able
Outbound IPv6 packets fragmented Number of outbound IPv6 packets fragmented.
Inbound IPv6 packets received Number of inbound IPv6 packets received.
Inbound IPv6 packets dropped Number of inbound IPv6 packets dropped.
Inbound IPv6 fragment packets Number of inbound fragmented IPv6 packets received.
received
Inbound IPv4 destination unreachable Number of times the destination for inbound IPv4 traffic was
unreachable.
Inbound IPv4 packets fragmented Number of inbound IPv4 packets fragmented.
Packet too big Number of oversize packets received.
Fragment processing errors Number of fragment processing errors.
ICMPv6 to ICMP Number of ICMPv6-to-ICMP translations.
ICMPv6 to ICMP errors Number of ICMPv6-to-ICMP errors.
186
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Stateless NAT46 Show Commands
Field Description
ICMP to ICMPv6 Number of ICMP-to-ICMPv6 translations.
ICMP to ICMPv6 errors Number of ICMP-to-ICMPv6 errors.
HA is standby Number of times the HA group the stateless NAT46 map-
pings are in was in the Standby state on this ACOS device.
Other errors Number of errors other than those counted above.
187
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Stateless NAT46 Show Commands
188
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
The commands in this chapter configure IPv6 rapid deployment (6rd). 6rd enables IPv6 clients
to communicate with IPv6 servers over a service provider’s IPv4 network.
Replace domain-name with the string to describe the 6rd domain (1-63
characters).
This command changes the CLI to the configuration level for the
specified 6rd domain, where the following commands are available.
NOTE: The other configuration commands at this level are not appli-
cable to 6rd.
189
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
6rd Configuration Commands
Command Description
[no] br-ipv4-address ipv4addr Specifies the 6rd IPv4 address of the ACOS device, and the
ipv6-prefix ipv6addr/prefix-length IPv6 prefix for the 6rd domain.
ce-ipv4-network 10.0.0.0 /8
[no] mtu bytes Specifies the maximum transmission unit (MTU) for the
IPv6 tunnel. You can specify 1280-1480 bytes.
Default There are no 6rd domains configured by default. When you create one,
it has the default settings as described in the table above.
Example For the ACOS BR address, you can use either an IP address configured
on an ACOS interface or a High Availability (HA) floating-IP address. If
you use an IP address configured on an ACOS interface, the 6rd
domain is not synchronized to the standby ACOS device as part of HA
configuration synchronization.
190
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
6rd Configuration Commands
Parameter Description
drop Drops oversize packets without sending an ICMPv6 error message back to the server.
Fragmentation is not performed.
ipv4 The IPv6 packet is treated as an IPv4 payload, and the IPv4 packet is then fragmented.
The client’s 6rd CE router defragments the IPv4 packet, extracts the IPv6 payload, and
sends it to the IPv6 client.
ipv6 The IPv6 packet is fragmented first, and the fragments are then placed into separate
IPv4 packets. The IPv4 packets are not fragmented. The fragmented IPv6 packet is
defragmented by the IPv6 client.
send-icmpv6 Drops oversize packets and sends an ICMPv6 error message back to the server. Frag-
mentation is not performed.
Default send-icmpv6
Usage For packets larger than 1500 bytes, the ipv4 option does not work. In
this case, the ipv6 option is recommended instead.
NOTE: For information about the df-set option, see “cgnv6 sixrd frag-
mentation outbound df-set” on page 192.
191
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
6rd Show Commands
Parameter Description
df-set 6rd behavior if Don’t Fragment (DF) bit is set for oversize packets. The default is
send-icmp.
drop Drops oversize packets without sending an ICMPv6 error message to the client.
Fragmentation is not performed.
ipv6 Fragments oversize IPv6 packets.
send-icmp Drops oversize packets and sends an IPv4 ICMP error message to the client’s 6rd
CE router. Fragmentation is not performed.
send-icmpv6 Drops oversize packets and sends a tunneled ICMPv6 error message to the client.
Fragmentation is not performed.
Default ipv6
Parameter Description
drop Drops oversize packets without sending a tunneled ICMPv6 error message to the client.
ipv6 Fragments oversize IPv6 packets anyway and forwards the fragments.
send-icmp Drops oversize packets and sends an IPv4 ICMP error message to the client’s 6rd CE
router.
send-icmpv6 Drops oversize packets and sends a tunneled ICMPv6 error message to the client.
Default send-icmp
192
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
6rd Show Commands
Mode All
Example The following command displays statistics for the 6rd domain “6rd1”:
Field Description
Outbound TCP packets received Number of client-to-server TCP packets received from clients.
Outbound UDP packets received Number of client-to-server UDP packets received from clients.
Outbound ICMP packets received Number of client-to-server ICMP packets received from clients.
Outbound other packets received Number of fragmented client-to-server packets received from cli-
ents.
Outbound packets dropped Number of client-to-server packets dropped by the ACOS device
because they were larger than the MTU of the outgoing interface.
193
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
6rd Show Commands
Field Description
Outbound IPv6 destination Number of client-to-server packets that could not be delivered
unreachable because the IPv6 server was unreachable.
Outbound Fragmented IPv6 Number of client-to-server IPv6 packets that were fragmented by
the ACOS device because they were larger than the MTU on the
outgoing interface.
Inbound TCP packets received Number of server-to-client TCP packets received from clients.
Inbound UDP packets received Number of server-to-client UDP packets received from clients.
Inbound ICMP packets received Number of server-to-client ICMP packets received from clients.
Inbound other packets received Number of fragmented server-to-client packets received from cli-
ents.
Inbound packets dropped Number of server-to-client packets dropped by the ACOS device
because they were larger than the MTU of the outgoing interface.
Inbound IPv4 destination Number of server-to-client packets that could not reach the desti-
unreachable nation of the IPv4 tunnel.
Inbound Fragmented IPv4 Number server-to-client packets fragmented into multiple IPv4
packets.
Inbound Fragmented IPv6 in Number server-to-client packets fragmented into multiple IPv6
tunnel packets before being sent in the IPv4 tunnel.
Unknown 6rd delegated prefix Number of packets received that had an unknown 6rd delegated
prefix.
Packet too big Number of packets received by the ACOS device from clients or
servers that were larger than the MTU of the ACOS interface. This
includes the following types of packets:
194
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Parameter Description
inside-prefix ipv6addr This command specifies the inside-prefix for an NPTv6 domain.
outside-prefix ipv6addr This command specifies the outside-prefix for an NPTv6 domain.
Default N/A.
Usage NPTv6 translation translates the routing prefix, subnet, and interface
identifier (IID) of IPv6 traffic when the traffic between networks.
NPTv6 translation can be configured between an internal network and
195
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
NPTv6 Show Commands
Mode All
196
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
NPTv6 Show Commands
Outbound Packets 0
Inbound Packets 0
Haripin Packets 0
Address Not Valid For Translation 0
Inbound Packets No Map 0
Packets Destination Unreachable 0
Usage The following table describes the fields for the show command output:
Field Description
domain [domain-name] Display all NPTv6 domains or a specific domain.
statistics [domain-name] Display NPTv6 statistics for all domains or for a specific
domain.
197
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
NPTv6 Show Commands
198
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
This chapter describes the commands for configuring logging templates. Logging templates are
applicable to IPv6 migration features.
• cgnv6 server
• cgnv6 service-group
This command changes the CLI to the configuration level for the
specified NAT logging template, where the following command is
available.
(The other commands are common to all CLI configuration levels. See
the CLI Reference for SLB.)
Command Description
[no] Disables batching of multiple log messages in the same
batched-logging-disable external logging packet. When this option is enabled, only a
single log message is placed in each packet.
199
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Logging Template Configuration Commands
Command Description
[no] custom options Configures custom LSN log strings.
• fixed-nat-allocated
• fixed-nat-freed
• fixed-nat-interim-update
• http-request-got – Message strings for HTTP request
logs. The message-string must be in the following for-
mat:
“MSG-ID [STRUCTURED-DATA] MSG”
• port-allocated
• port-batch-allocated
• port-batch-freed
• port-batch-v2-allocated
• port-batch-v2-freed
• port-batch-v2-interim-update
• port-freed
• session-created
• session-deleted
• custom time-stamp-format– Customizes the time stamp
format to use in the message strings.
[no] disable-log-by-destination Disables logging by specific protocol and destination port/
range of ports. The following options are available:
200
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Logging Template Configuration Commands
Command Description
[no] format option Reduces the size of external traffic logs. You can enable one
of the following data reduction options:
201
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Logging Template Configuration Commands
Command Description
[no] Includes the client mobile number in Carrier Grade NAT (CGN)
include-radius-attribute traffic logs. The ACOS device obtains the client mobile num-
{framed-ipv6-prefix {prefix- ber by sending a RADIUS Accounting request to an external
length}| imei | imsi | msisdn | RADIUS server for the specified attribute. The attribute can
custom1 | custom2 |
be one of the following:
custom3 | no-quote}
• framed-ipv6-prefix – Include RADIUS attributes for the pre-
fix. You must specify the prefix-length designated for the
prefix.
• imei – International Mobile Equipment Identity
• imsi – International Mobile Subscriber Identity
• insert-if-not-existing – Configure what string is to be
inserted for custom RADIUS attributes.
• msisdn – Mobile Station International ISDN Number
• custom1, custom2, custom3 – Additional attributes not
covered by other options
• no-quote – No quotation marks for RADIUS attributes in
logs.
202
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Logging Template Configuration Commands
Command Description
[no] log option Enables logging for specific options.
• fixed-nat
{
http-requests {host | url} |
port-mappings {both | creation} | sessions |
user-ports [periodic days start-time hh:mm]}
• sessions [merged-style]
• creation
• disable
203
Disables logging for port mapping.
• port-overloading
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Logging Template Configuration Commands
Command Description
• user-data
204
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Logging Template Configuration Commands
Command Description
[no] rfc-custom message Customizes log message strings for external logging.
feature type string
The feature can be one of the following:
The string specifies the fields and text to use in the mes-
sage strings. (For string syntax information, see the “RFC
5424 Header Support For External Logging” section in the
IPv4-to-IPv6 Transition Solutions Guide.)
205
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Logging Template Configuration Commands
Command Description
[no] rule http-requests option Configures rules for HTTP request logging. You can set the
following options:
• 0 | emergency
• 1 | alert
• 2 | critical
• 3 | error
• 4 | warning
• 5 | notice
• 6 | informational
• 7 | debug
[no] source-address Specifies the source IPv4 or IPv6 address to use as the
{ip ipv4addr | source of log packets.
ipv6 ipv6addr}
206
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Logging Template Configuration Commands
Command Description
[no] source-port Specifies the source protocol port the ACOS device uses to
{portnum | any} send out log messages to the external log servers.
NOTE: This does not conflict with the real server port, which
is the destination port of the logging packet.
Default There is no NAT logging template by default. When you configure one,
the template options have the following default values:
• batched-logging-disable – disabled. Log messages are batched.
Each external logging packet can contain more than one log mes-
sage.
• custom – not set
• facility – local0
• format – default
• include-destination – disabled
• include-http – not set
• include-inside-user-mac – not set
• include-partition-name – not set
• include-radius-attribute – not set
• log fixed-nat – all options disabled
• log fixed-nat-user-ports – disabled
• log http-requests – disabled
• log port-mappings – Both creation and deletion of mappings are
logged.
• log port-overloading – disabled
• log sessions – disabled
• log-receiver – not set
• resolution – seconds
• rfc-custom – The default message formats are used, if RFC 5424
format is enabled. (See the IPv4-to-IPv6 Transition Solutions
Guide.)
• rule – Rules for HTTP request logging have the following defaults:
• dest-port – not set
• log-every-http-request – disabled; only the first request of
the session is logged
• max-url-len – 100
207
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Logging Template Configuration Commands
Usage The template does not take effect until you set it as the default LSN /
DS-Lite logging template or assign it to individual LSN / DS-Lite pools.
• To set the template as the default LSN / DS-Lite logging template,
see “cgnv6 lsn logging default-template” on page 25.
• To assign the template to an LSN / DS-Lite pool, see “cgnv6 lsn
logging pool” on page 26.
Additional characters are truncated from the right side of the URL
string.
Example The following commands configure external logging for LSN / DS-Lite
traffic events, using the same template for all LSN / DS-Lite pools:
208
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Logging Template Configuration Commands
cgnv6 server
Description Configure a server for external logging.
Parameter Description
server-name Server name, 1-31 characters.
ipaddr IP address of the server in either IPv4 or IPv6 format. The address is required only if you
are creating a new server.
This command changes the CLI to the configuration level for the
specified service-group, where the following command is available:
Command Description
disable Disables the server.
enable Enables the server.
[no] health-check Enables health monitoring of the server. The monitor-name specifies the
[monitor-name] name of a configured health monitor.
If you omit this command or you enter it without the monitor-name option,
the default Layer 3 (ICMP) health monitor is used.
[no] health-check- Disables health monitoring of the server.
disable
[no] health-check- Specifies the specific port to follow for health status.
follow-port portnum
{tcp | udp}
[no] port port-num Specifies the TCP or UDP port on which the server listens for log traffic.
{tcp | udp}
disable | enable
If you omit the health-check command or you enter it without the moni-
tor-name option, the default UDP health monitor is used. (See “Usage”
below.)
[no] health-check-disable
209
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Logging Template Configuration Commands
Usage The normal form of the cgnv6 server command creates a new or edits
an existing real server. The CLI changes to the configuration level for
the server.
The IP address of the server can be in either IPv4 or IPv6 format. ACOS
supports both address formats.
cgnv6 service-group
Description Configure a service group, which is a pool of one or more servers.
This command changes the CLI to the configuration level for the
specified service-group, where the following command is available:
210
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Logging Template Show Commands
NOTE: The other configuration commands at this level are not appli-
cable to logging.
Command Description
[no] health-check Enables health monitoring of the service group. The monitor-name
[monitor-name] specifies the name of a configured health monitor.
[no] member Adds the external log server and port to the service group.
server-name portnum
Usage The normal form of this command creates a new or edits an existing
service group. The CLI changes to the configuration level for the ser-
vice group.
211
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Logging Template Show Commands
Parameter Description
feature Specifies the feature, which can be one of the following:
• fixed-nat-allocated
• fixed-nat-freed
• fixed-nat-interim-update
• port-allocated
• port-batch-allocated
• port-batch-freed
• port-batch-v2-allocated
• port-batch-v2-freed
• port-batch-v2-interim-update
• port-freed
Mode All
212
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Logging Template Show Commands
Default N/A
Mode All
Usage You can also specify source-address logging statistics for a specific
template.
Mode All
Mode All
Example The following command displays the status of the ACOS device’s TCP
connections to syslog servers:
213
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Logging Template Show Commands
Field Description
Server Name of the syslog server.
No. of TCP connec- Status of the TCP connections to the server. The status is shown as follows:
tions
Established-Connections / Data-CPUs
• OK – All ACOS TCP connections to the syslog server are functioning normally.
• Retrying – Some connections are not up, and the ACOS device is sending
SYNs to try to establish the missing connections.
214
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
NOTE: For Fixed-NAT, use of a NAT64 prefix with mapping to a class list is
not supported.
215
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Fixed-NAT Configuration Command
216
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Fixed-NAT Configuration Command
This scenario configures FIXED NAT inside users with NAT start and
end addresses.
This scenario configures FIXED NAT inside users with an IP-list within
an inside user partition.
This scenario configures FIXED NAT inside users with NAT start and
end addresses within an inside user partition.
217
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Fixed-NAT Configuration Command
Parameter Description
inside options IP address range(s) of inside clients.
218
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Fixed-NAT Show Commands
Parameter Description
session-quota quota-num Maximum number of sessions that can be created for a given client.
You can specify 1-2147483647.
usable-nat-ports Range of protocol ports that can be allocated to clients. You can spec-
starting-port ify 1024-65535.
ending-port
vrid vrid Adds the Fixed-NAT addresses to a VRRP-A VRID for redundancy.
Parameter Description
esp Encapsulating Security Payload (ESP)
ftp File Transfer Protocol (FTP).
h323 H.323 standard.
mgcp Media Gateway Control Protocol
pptp Point-to-Point Tunneling Protocol (PPTP) Generic Routing Encapsula-
tion (GRE)
219
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Fixed-NAT Show Commands
Parameter Description
rtsp Real Time Streaming Protocol (RTSP)
sip Session Initiation Protocol (SIP)
tftp Trivial File Transfer Protocol (TFTP)
Mode All
Example For examples, see “show cgnv6 lsn alg” on page 59.
Parameter Description
ds-lite [nat-address ipaddr] Displays DS-Lite full-cone sessions.
nat-address ipaddr Displays full-cone sessions for the specified NAT address.
nat44 [nat-address ipaddr] Displays NAT44 full-cone sessions.
nat64 [nat-address ipaddr] Displays NAT64 full-cone sessions.
all-partitions Displays full-cone sessions for all partitions.
partition name Displays full-cone sessions for only the specified partition.
pcp Displays only those full-cone sessions created by PCP request.
Mode All
Parameter Description
partition name Name of the inside user partition.
port-mapping Displays Fixed-NAT port mappings for a specific NAT address.
quota-used Lists the number of sessions the client currently has active, and the number of
TCP, UDP, and ICMP ports in use by the client.
220
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Fixed-NAT Show Commands
Mode All
Parameter Description
portnum Displays the inside user mapping for NAT address and NAT port number
(1024-65535).
port-mapping Displays Fixed-NAT port mappings for a specific NAT address.
Mode All
Parameter Description
all List all the port mapping files of all configuration
archive List all the port mapping files that are deleted.
Mode All
Mode All
221
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Fixed-NAT Show Commands
Field Description
Total NAT Addresses in-use Total number of NAT pool addresses in use.
Total TCP Ports Allocated Total number of TCP ports allocated for user sessions.
Total TCP Ports Freed Total number of TCP ports freed for use by other sessions.
Total UDP Ports Allocated Total number of UDP ports allocated for user sessions.
Total UDP Ports Freed Total number of UDP ports freed for use by other sessions.
Total ICMP Ports Allocated Total number of ICMP ports allocated for user sessions.
Total ICMP Ports Freed Total number of ICMP ports freed for use by other sessions.
NAT44 Data Sessions Created Total number of NAT44 Fixed-NAT data sessions created.
NAT44 Data Sessions Freed Total number of NAT44 Fixed-NAT data sessions freed.
NAT64 Data Sessions Created Total number of NAT64 Fixed-NAT data sessions created.
NAT64 Data Sessions Freed Total number of NAT64 Fixed-NAT data sessions freed.
DS-Lite Data Sessions Created Total number of DS-Lite Fixed-NAT data sessions created.
DS-Lite Data Sessions Freed Total number of DS-Lite Fixed-NAT data sessions freed.
TCP NAT Port Unavailable Number of times a TCP port for an LSN NAT session was unavailable.
UDP NAT Port Unavailable Number of times a UDP port for an LSN NAT session was unavail-
able.
ICMP NAT Port Unavailable Number of times an ICMP port for an LSN NAT session was unavail-
able.
Sessions User Quota Exceeded Number of times a client exceeded their data session quota.
NAT44 TCP Full-Cone Created Total number of NAT44 TCP full-cone sessions created.
NAT44 TCP Full-Cone Freed Total number of NAT44 TCP full-cone sessions freed.
NAT44 UDP Full-Cone Created Total number of NAT44 UDP full-cone sessions created.
NAT44 UDP Full-Cone Freed Total number of NAT44 UDP full-cone sessions freed.
NAT44 UDP ALG Full-Cone Cre- Total number of NAT44 UDP full-cone sessions created that used
ated ALG support.
NAT44 UDP ALG Full-Cone Freed Total number of NAT44 UDP full-cone sessions freed that used ALG
support.
NAT64 TCP Full-Cone Created Total number of NAT64 TCP full-cone sessions created.
NAT64 TCP Full-Cone Freed Total number of NAT64 TCP full-cone sessions freed.
NAT64 UDP Full-Cone Created Total number of NAT64 UDP full-cone sessions created.
NAT64 UDP Full-Cone Freed Total number of NAT64 UDP full-cone sessions freed.
NAT64 UDP ALG Full-Cone Cre- Total number of NAT64 UDP full-cone sessions created that used
ated ALG support.
NAT64 UDP ALG Full-Cone Freed Total number of NAT64 UDP full-cone sessions freed that used ALG
support.
DS-Lite TCP Full-Cone Created Total number of DS-Lite UDP full-cone sessions created that used
ALG support.
222
Feedback ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN
Fixed-NAT Show Commands
Field Description
DS-Lite TCP Full-Cone Freed Total number of DS-Lite UDP full-cone sessions freed that used ALG
support.
DS-Lite UDP Full-Cone Created Total number of DS-Lite TCP full-cone sessions created.
DS-Lite UDP Full-Cone Freed Total number of DS-Lite TCP full-cone sessions freed.
DS-Lite UDP ALG Full-Cone Cre- Total number of DS-Lite UDP full-cone sessions created.
ated
DS-Lite UDP ALG Full-Cone Total number of DS-Lite UDP full-cone sessions freed.
Freed
Full-Cone Session Creation Failed Total number of NAT64 UDP full-cone sessions created that used
ALG support.
NAT44 Endpoint-Independent Total number of NAT64 UDP full-cone sessions freed that used ALG
Mapping Matched support.
NAT64 Endpoint-Independent Number of times the NAT64 mapping assigned to a client was
Mapping Matched reused for subsequent traffic for that client.
DS-Lite Endpoint-Independent Number of times the DS-Lite mapping assigned to a client was
Mapping Matched reused for subsequent traffic for that client.
NAT44 Number of times traffic from any source to a given NAT44 mapped
Endpoint- client was forwarded to the internal client, regardless of the end-
Independent point. (This is the benefit provided by Endpoint independent filter-
Filtering Matched ing.)
NAT64 Endpoint-Independent Number of times traffic from any source to a given NAT64 mapped
Filtering Matched client was forwarded to the internal client, regardless of the end-
point.
DS-Lite Endpoint-Independent Number of times traffic from any source to a given DS-Lite mapped
Filtering Matched client was forwarded to the internal client, regardless of the end-
point.
NAT44Endpoint-Dependent Fil- Number of times traffic to a NAT44 mapped client was dropped
tering Drop because endpoint-independent filtering was not enabled, and the
traffic was not from the endpoint mapped to the client.
NAT64Endpoint-Dependent Fil- Number of times traffic to a NAT64 mapped client was dropped
tering Drop because endpoint-independent filtering was not enabled, and the
traffic was not from the endpoint mapped to the client.
DS-Lite Endpoint-Dependent Fil- Number of times traffic to a DS-Lite mapped client was dropped
tering Drop because endpoint-independent filtering was not enabled, and the
traffic was not from the endpoint mapped to the client.
NAT44 Endpoint-Independent Number of times the limit for EIF sessions on a NAT44 mapping was
Filtering Inbound Limit Exceeded exceeded.
NAT64 Endpoint-Independent Number of times the limit for EIF sessions on a NAT64 mapping was
Filtering Inbound Limit Exceeded exceeded.
DS-Lite Endpoint-Independent Number of times the limit for EIF sessions on a DS-Lite mapping was
Filtering Inbound Limit Exceeded exceeded.
NAT44 Hairpin Session Created Total number of NAT44 hairpin sessions created.
NAT64 Hairpin Session Created Total number of NAT64 hairpin sessions created.
223
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN FeedbackF
Fee
e
Fixed-NAT Show Commands
Field Description
DS-Lite Hairpin Session Created Total number of DS-Lite hairpin sessions created.
Fixed NAT LID Standby Drop Number of packets dropped because the Fixed-NAT LID is in an HA
group, and this ACOS device was the Standby for that HA group.
Self-Hairpinning Drop Number of times traffic was dropped because the inside source and
destination addresses were the same.
Fixed NAT IPv6 in IPv4 Packet Number of Packets dropped because it is a ipv6 packet encapsu-
Drop lated in IPv4 packet. Fixed NAT does not support 6rd / IPv6 in IPv4
packets.
Fixed NAT Dest Rule List Drop Number of Packets dropped because the Drop was configured in
Destination Rule List.
Fixed NAT Dest Rule List Pass- Number of Packets passed through because the Pass-Through was
Through configured in Destination Rule List.
Fixed NAT IPv4 User Marked Number of Fixed NAT IPv4 users set to unusable state.
Unusable
Fixed NAT IPv6 User Marked Number of Fixed NAT IPv6 users set to unusable state.
Unusable
Fixed NAT User Unusable Drop Number of Packets dropped because the user is in unusable state.
Fixed NAT Dest Rules List Source Number of Packets dropped because LSN Source NAT was config-
NAT Drop ured in Fixed-NAT Dest Rule List.
Fixed NAT Config not Found Packets dropped due to configuration is not found. This can occur
when the configuration is being removed.
Fixed NAT IPD disabled Fixed-NAT IP black-listed due to cgnv6 ddos-protection. Number of
times traffic hits this Fixed NAT IP once it is black-listed.
224
ACOS 4.1.4-GR1-P5 Command Line Interface Reference for CGN for A10 Thunder Series
Contents
225