C. Router CLI Commands, Codes, and Designations
C-14 September 2002 9128-A2-GB20-80
(Continued from previous page)
pool Specify the name of a pool of addresses available f or dynamic add res s trans lati on.
For inside source translation, this is the pool of local addresses.
pool-name
The name of a NAT pool comprised of 120 ASCII printable characters.
interface For dynamic address translation, specifies an interface or sub-interface that
provides the address for the translation. For inside source translation, specifies the
interface that provides the global address. If there is no address on the interface, the
interface has not been specified as an outside interface, or the interface is not operational,
no translations based on this rule will occur. If a pub lic IP addr ess is speci fie d fo r NAPT on
this interface, that address is used instead of the interfaces assigned IP address.
intf-type
Two interface types are supported:
Ethernet IEEE 802.3 interface
Serial Frame relay serial interface
intf-num
Interface index number for both the Ethernet and Serial interfaces, 0 or 1.
sub-intf-num
Sub-interface number. Sub-interfaces are only supported on the
network interface (Serial 0). If a Serial interface is specified, a sub-interface must also
be specified. Sub-interface number range is 04,294,967,295.
overload Specifies that Network Address Port Translation (NAPT), also known as Port
Address Translation (PAT), is to be used for UDP and TCP.
static Specifies a fixed, one-to-one mapping between an inside (private) IP address
(and port for PAT) and a outside (global) IP address (and port for PAT). For inside source
translation, a private address (and port for PAT) is mapped to a global address (and port
for PAT). Static inside and outside destination translations are not supported.
static-ip-addr1
Specifies the first IP address in the
static route
. For inside source
translation, this is the local address to be mapped.
static-ip-addr2
Specifies the second IP address in the
static route.
For inside source
translation, this is the global address to be mapped.
protocol
Protocol that applies to this
static
route, which include:
tcp Transmission Control Protocol
udp User Datagram Protocol
static-port-num
Specifies the second TCP/UDP port in a
static protocol
route. For
inside source translation, this is the local port. It should only be specified when a static
protocol translation is specified. Only one static route per protocol can specify a
static-port- num
. The valid range of TCP/UDP ports is 165535.

clear ip nat translation *

Minimum Access Level: Administrator
Command Mode: Standard
Allows you to clear all
dynamic
NAT translations from the translation table.

Table C-8. NAT Commands (3 of 3)