A. Command Line Interface
6300-A2-GB20-10 November 2003
A-13
nat basic map public-ip private-ip
nat basic map lower-public-ip lower-private-ip upper-private-ip
Minimum Access Level: Administrator
Command Mode: Config
Statically maps public to private IP addresses for the one-to-one mapping function of
Basic NAT. In the first command, a single address pair is mapped. In the second
command, a range of IP addresses will be contiguously mapped starting at the pair
defined by the lower-public-ip and lower-private-ip argument. A maximum of 64 static
mappings can be created.
Example: nat basic map 192.128.1.1 10.1.3.2
public-ip – IP address of the public address space which is to be mapped to the IP
address of a local host.
private-ip – IP address of a local host which is to be mapped to an IP address in the
public IP address space.
lower-public-ip – Lowermost IP address of a range of public addresses which are to be
mapped to a range of IP addresses of local hosts.
lower-private-ip – Lowermost IP address of a range of local host IP addresses which are
to be mapped to a range of IP addresses in the public IP address space.
upper-private-ip – Uppermost IP address of a range of local host IP addresses which are
to be mapped to a range of IP addresses in the public IP address space.
nat basic delete private-ip
nat basic delete lower-private-ip upper-private-ip
Minimum Access Level: Administrator
Command Mode: Config
In the first command, the command deletes static mapping entry associated with the
specified one-to-one mapping of Basic NAT. In the second command, a range of
mappings will be contiguously deleted starting at the pair defined by the lower-private-ip
and ending with the upper-private-ip argument.
Example: nat basic delete 192.128.1.1
private-ip – Statically mapped IP address of the local host.
lower-private-ip – Lowermost IP address of a range of local host IP addresses which are
to be deleted.
upper-private-ip – Uppermost IP address of a range of local IP addresses which are to
be deleted.
nat napt delete {udp | tcp} port
Minimum Access Level: Administrator
Command Mode: Config
Deletes static mapping entries which identify a local server.
Example: nat napt delete tcp 102
udp, tcp – Specify the protocol used, User Datagram Protocol or Transmission Control
Protocol.
port – The protocol port number associated with the local server.
Table A-9. NAT Commands (3 of 4)