A useful command to verify NAT operation is the show ip nat translations command. This command shows active NAT translations. Static translations, unlike dynamic translations, are always in the NAT table. Figure 1 shows the output from this command using the previous configuration example. Because the example is a static NAT configuration, the translation is always present in the NAT table regardless of any active communications. If the command is issued during an active session, the output also indicates the address of the outside device as shown in Figure 1.

Another useful command is the show ip nat statistics command. As shown in Figure 2, the show ip nat statistics command displays information about the total number of active translations, NAT configuration parameters, the number of addresses in the pool, and the number of addresses that have been allocated.

To verify that the NAT translation is working, it is best to clear statistics from any past translations using the clear ip nat statistics command before testing.

Prior to any communications with the web server, the show ip nat statistics command shows no current hits. After the client establishes a session with the web server, the show ip nat statistics command has been incremented to five hits. This verifies that the static NAT translation is taking place on R2.