2-112 Command Line Interface Commands Reference
no ip nat map
[
list-tag
]
This command allows you to delete the map list named
list-tag
. This also deletes all of the maps contained in
the list. No public range referred to by any of the contained maps is deleted. If a connection profile has been
bound to this map list it will be updated to reflect the fact that the list no longer exists, and will thus be bound
to no map list.
If the
list-tag
is omitted then all map lists will be deleted.
show ip nat map
list-tag
This command allows you to see the rules contained in the nat map list named
list-tag
.
Example:
show ip nat map Easy-PAT
ip nat server
list-tag
priv-ip-addr
pub-ip-addr
{
por t-name
pub-star t-por t
[
pub-end-por t
] }
{ both | tcp | udp }
priv-star t-por t
This command allows you to map a private ser ver address,
priv-ip-addr
, and por t or por ts to a public address
pub-ip-addr
and the same por t or por ts. In the Motorola Netopia
®
router’s earlier firmware releases this feature
was called “Expor ted Ser vices.” Its primar y use is to allow ser vers to be accessed through a WAN inter face to
which PAT has been applied.
por tname
currently may be one of
ftp
,
telnet
,
smtp
,
tftp
,
gopher
,
finger
,
www-http
,
pop2
,
pop3
,
snmp
,
timbuktu
,
pptp
, or
irc
.
Examples:
ip nat server Easy-Servers 192.168.1.104 62.3.76.205 8888 8889 both 8888
ip nat server Easy-Servers 192.168.1.104 62.3.76.205 8080 8080 tcp 8080
ip nat server Easy-Servers 192.168.1.104 62.3.76.205 9000 9010 udp 19010
ip nat server Easy-Servers 192.168.1.104 62.3.76.205 smtp tcp 25
no ip nat server
[
list-tag
]
This command allows you delete a list of NAT ser ver maps. If the
list-tag
is omitted then all ser ver lists will be
deleted.
show ip nat server
list-tag
This command allows you to see the rules contained in the nat ser ver list named
list-tag
.
Example:
show ip nat server Easy-Servers