Command:

show ip nat statistics

Mode:

Router>


Syntax:

show ip nat statistics


Syntax Description:

This command has no arguments or keywords.


Command Description:

To display Network Address Translation (NAT) statistics, use the show ip nat statistics EXEC command.


Example:

The following is a sample of output from the show ip nat statistics command:

Router#show ip nat statistics

Total translations: 2 (0 static, 2 dynamic; 0 extended)
Outside interfaces: Serial0/0
Inside interfaces: FastEthernet0/1
Hits: 135  Misses: 5
Expired translations: 2
Dynamic mappings:
-- Inside Source
access-list 1 pool net-208 refcount 2
 pool net-208: netmask 255.255.255.240
        start 171.69.233.208 end 171.69.233.221
        type generic, total addresses 14, allocated 2 (14%), misses 0
 

The table describes the significant fields in the display.

Table: show ip nat statistics Field Descriptions

Field Description

Total translations

Number of translations active in the system. This number is incremented each time a translation is created and is decremented each time a translation is cleared or times out.

Outside interfaces

List of interfaces marked as outside with the ip nat outside command

Inside interfaces

List of interfaces marked as inside with the ip nat inside command

Hits

Number of times the software does a translations table lookup and finds an entry

Misses

Number of times the software does a translations table lookup, fails to find an entry, and must try to create one

Expired translations

Cumulative count of translations that have expired since the router was booted

Dynamic mappings

Indicates that the information that follows is about dynamic mappings

Inside Source

The information that follows is about an inside source translation

access-list

Access list number being used for the translation

pool

Name of the pool (in this case, net-208)

refcount

Number of translations that are using this pool

netmask

IP network mask being used in the pool

start

Starting IP address in the pool range

end

Ending IP address in the pool range

type

Type of pool. Possible types are generic or rotary

total addresses

Number of addresses in the pool that are available for translation

allocated

Number of addresses being used

misses

Number of failed allocations from the pool

 

Misconceptions:
None

Related commands:
clear ip nat translation
ip nat
ip nat inside destination
ip nat inside source

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)