C. Router CLI Commands, Codes, and Designations
C-14 December 2002 9700-A2-GB20-20
(Continued from previous page)
pool – Specify the name of a pool of addresses available for dynamic address translation.
For inside source translation, this is the pool of local addresses.
pool-name
– The name of a NAT pool comprised of 1–20 ASCII printable charact ers.
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 public IP address is specified for NAPT on
this interface, that address is used instead of the interface’s assigned IP address.
intf-type
– Two interface types are supported:
Ethernet – IEEE 802.3 interface
Serial – Frame relay serial interface (SDSL network interface)
intf-num
– Interface index number for both the Ethernet and S erial 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 0–4,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 1–65535.

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)