Network Address Translation

 

 

Table 11.2: CLI Display of NAT Statistics (Continued)

 

 

 

 

 

 

This Field...

 

Displays...

 

 

 

 

 

 

Sess

 

Lists session statistics. NAT uses the session table for managing the

 

 

 

translations.

 

 

 

• Total – The total number of both used and available internal

 

 

 

session resources.

 

 

 

• Avail – The number of free internal session resources.

 

 

 

• NAT – The number of internal session resources currently used

 

 

 

by NAT.

 

 

 

For information about the session table, see “Layer 4 Session Table”

 

 

 

on page 6-6.

 

 

 

 

 

 

Inside global

 

A global IP address.

 

 

 

 

 

 

Last Inside Local

 

The last inside local IP address to use the global IP address.

 

 

 

 

 

 

xmit pkts

 

The number of packets send out for this NAT global IP address from

 

 

 

the inside to the outside network.

 

 

 

 

 

 

xmit bytes

 

The number of bytes send out for this NAT global IP address from the

 

 

 

inside to the outside network.

 

 

 

 

 

 

rx pkts

 

The number of packets received from the outside network to the

 

 

 

inside network for this NAT global IP address.

 

 

 

 

 

 

rx bytes

 

The number of bytes received from the outside network to the inside

 

 

 

network for this NAT global IP address.

 

 

 

 

 

 

cnt

 

The number of session resources in use for the translation.

 

 

 

Note: If the value is 0, then translation is not taking place. Check your

 

 

 

configuration. For example, make sure you have enabled both inside

 

 

 

NAT (on the interface to the private addresses) and outside NAT (on

 

 

 

the interface to the Internet).

 

 

 

 

 

Clearing Translation Table Entries

In addition to the aging mechanism, the software allows you to manually clear entries from the NAT table. The software provides the following clear options:

Clear all entries (static and dynamic)

Clear an entry for a specific NAT entry based on the private and global IP addresses

Clear an entry for a specific NAT entry based on the IP addresses and the TCP or UDP port number. Use this option when you are trying to clear specific entries created using the Port Address Translation feature.

To clear entries, use the following CLI method.

USING THE CLI

To clear all dynamic entries from the NAT translation table, enter the following command at the Privileged EXEC level of the CLI:

HP9300# clear ip nat all

Syntax: clear ip nat all

To clear only the entries for a specific address entry, enter a command such as the following:

HP9300# clear ip nat inside 209.157.1.43 10.10.10.5

11 - 11