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-tagis 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 { port-name pub-start-port [ pub-end-port ] }
{both tcp udp } priv-start-port
This command allows you to map a private server address, priv-ip-addr, and port or ports to a public address pub-ip-addrand the same port or ports. In the Motorola Netopia® router’s earlier firmware releases this feature was called “Exported Services.” Its primary use is to allow servers to be accessed through a WAN interface to which PAT has been applied.
portname 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 server maps. If the list-tagis omitted then all server lists will be deleted.
show ip nat server list-tag
This command allows you to see the rules contained in the nat server list named list-tag.
Example: