Verifying NAT Configuration

To aid in verifying the configuration of NAT, you can use two specific commands. The show ip
nat translation command shows the translations in the NAT table and the output in the following
simple example:
BorderRouter(config)#show ip nat translations
Pro Inside global Inside local Outside local Outside global
--- 200.1.1.25 10.1.1.25 --- ---
--- 200.1.1.26 10.1.1.26 --- ---
You can use the same command with an additional parameter to get more information about
each NAT table entry. The show ip nat translation verbose command displays more
information about each NAT table entry, such as the time left until the entry in the NAT table
expires, as shown here:
BorderRouter(config)#show ip nat translations verbose
Pro Inside global Inside local Outside local Outside global
--- 200.1.1.25 10.1.1.25 --- ---
create 00:05:01, use 00:00:00, left 23:12:40, flags: none
--- 200.1.1.26 10.1.1.26 --- ---
create 00:04:29, use 00:00:00, left 23:13:10, flags: none
The second command is used to display statistics and configuration information about NAT
running on the router. The show ip nat statistics command displays information about
the NAT table, as shown here:
BorderRouter(config)# show ip nat statistics
Total active translations:2(0 static, 2 dynamic,0 extended)
Outside interfaces: Loopback 0, Serial1
Inside interface: Serial0
Hits: 243 Misses: 2
Expired translations: 0
Dynamic mappings:
-- Inside Source
access-list 2 pool insidepool refcount 1
pool insidepool: netmask 255.255.255.0
start 200.1.1.1 end 200.1.1.4
type generic,total address 5,allocated 2 (50%),misses 0