A. Command Line Interface
6300-A2-GB20-10 November 2003 A-11
NAT Commands

Table A-9. NAT Commands (1 of 4)

nat basic {enable | disable}

Minimum Access Level: Administrator
Command Mode: Config
Enables or disables the one-to-one mapping function of Basic Network Address
Translation (NAT). For Basic NAT, Proxy ARP on the dsl1 interface must be enabled when
the dsl1 interface address is part of the Basic NAT global IP network address.
enable – The one-to-one mapping function of Basic NAT is active.
disable – One-to-one mapping cannot take place. This is the default setting.

nat napt {enable | disable}

Minimum Access Level: Administrator
Command Mode: Config
Enables or disables the many-to-one mapping function of Network Address Port
Translation (NAPT), sometimes called Port Access Translation (PAT).
NOTE: NAPT is limited to one subnet.
enable – The many-to-one mapping function of NAPT is active.
disable – Many-to-one mapping cannot take place. This is the default setting.

nat basic address ip-addr [ip-mask]

Minimum Access Level: Administrator
Command Mode: Config
Defines the public IP addresses used in the one-to-one mapping function of Basic NAT.
Up to 256 addresses can be allocated with Basic NAT.
Example: nat basic address 192.128.1.1
ip-addr – Any valid public IP address.
ip-mask – Any valid subnet mask associated with the specified IP address. The default
is255.255.255.0.

nat basic purge

Minimum Access Level: Administrator
Command Mode: Config
Deletes all one-to-one Basic NAT mapping entries.

nat napt address ip-addr

Minimum Access Level: Administrator
Command Mode: Config
Defines the public IP host address to use in the many to one mapping function of NAPT.
NAPT cannot accept incoming requests, unless a static NAT entry has been configured.
Example: nat napt address 192.128.1.1
ip-addr – Any valid public IP address.