2-110 Command Line Interface Commands ReferenceIP Network Address Translation (NAT) CommandsOverviewNetwork Address Translation (NAT) makes use of five basic structures:■ “public” or externally visible address ranges■ “map” rules that bind an interior, private address range with a public address range■ “map-lists”, which are ordered lists of maps■ “servers”, which define a mapping between a private IP address and port and a public IP address (and thesame port)■ “server-lists” which are lists of servers.ip nat public tag dynamic from-address to-addressThis command allows you to allocate a dynamic range of exterior, public addresses for use by Network AddressTranslation. This range of addresses will be associated dynamically with private addresses you will define whenyou create a map. tag is the name you assign to the range, and it can contain up to 16 characters.Example:The following creates a dynamic public range of 8 addresses starting at 163.176.12.1:ip nat public "my second range" dynamic 163.176.12.1 163.176.12.8IP Network Address Translation (NAT) Commandsip nat public tag dynamic from-address to-addressip nat public tag static pub-from-address pub-to-addressip nat public tag pat { pub-address | 0.0.0.0 } [from-port to-port]no ip nat public [ tag ]ip nat map list-tag priv-from-address priv-to-address pool-tagno ip nat map [ list-tag ]show ip nat map list-tagip nat server list-tag priv-ip-addr pub-ip-addr { port-name pub-start-port [ pub-end-port ] }{ both | tcp | udp } priv-start-portno ip nat server [ list-tag ]show ip nat server list-tagshow ip nat translation