show ip nat statistics
Shows NAT counters: active translations, inside and outside interfaces, hits and misses, and the configured rules.
Written by a working field network engineer · CCNA, Security+, CySA+
NAT’s configuration and counters in one place: which interfaces are inside and outside, how many translations are active, and hits versus misses. It is the fastest way to catch an interface marked on the wrong side.
Example output
R1#show ip nat statistics
Total active translations: 4 (0 static, 4 dynamic; 4 extended)
Peak translations: 14, occurred 00:21:40 ago
Outside interfaces:
GigabitEthernet0/2
Inside interfaces:
GigabitEthernet0/0
Hits: 18452 Misses: 61
Expired translations: 58
Dynamic mappings:
-- Inside Source
[Id: 1] access-list 1 interface GigabitEthernet0/2 refcount 4Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.
Useful variants
clear ip nat statistics
What each column or field means
| Field | Meaning |
|---|---|
Total active translations | Current entries, split into static and dynamic; extended means they include ports (PAT). |
Outside / Inside interfaces | Interfaces marked ip nat outside and ip nat inside. |
Hits / Misses | Packets that matched an existing translation, and packets that needed a new one created. |
Dynamic mappings | The ip nat inside source rules: which ACL, and which pool or interface address is used. |
refcount | Translations currently using that rule. |
When it doesn’t look right
An interface is listed on the wrong side, or missing.
Correct ip nat inside / ip nat outside on the interfaces. Both are required for translation to happen.
Misses climb but active translations stay at zero.
Packets match the rule but no translation can be built: with a pool, the pool may be exhausted. Add overload or more addresses.
Related commands
Try it yourself
- NAT Overload (PAT) (Pro)
- NAT Pool Alongside Overload (Pro)
- Marking NAT Inside and Outside Interfaces (Pro)
- NAT Configuration Troubleshooting (Pro)
- Or build the example network in the free Sandbox
Learn it in the CCNA path
- Dynamic NAT & Port Address Translation (PAT) (4. IP Services)
- NAT & PAT (4. IP Services)
Topic
NAT and PAT — Translate private addresses at the edge with static NAT, dynamic pools and PAT overload, and read the translation table.