show ip nat translations
Lists the active NAT and PAT translations: inside local and global, outside local and global addresses and ports.
Written by a working field network engineer · CCNA, Security+, CySA+
The NAT table: which inside host is being represented by which public address and port right now. If it is empty while users are browsing, NAT is not happening.
Example output
R1#show ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 203.0.113.2:3 192.168.10.11:3 198.51.100.10:3 198.51.100.10:3
tcp 203.0.113.2:51514 192.168.10.11:51514 198.51.100.80:443 198.51.100.80:443
udp 203.0.113.2:53211 192.168.10.11:53211 198.51.100.53:53 198.51.100.53:53
udp 203.0.113.2:1024 192.168.10.12:53211 198.51.100.53:53 198.51.100.53:53
Total number of translations: 4Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.
Useful variants
show ip nat translations verboseclear ip nat translation *
What each column or field means
| Field | Meaning |
|---|---|
Pro | Protocol. PAT entries carry a protocol and port; a static one-to-one NAT entry shows a dash. |
Inside local | The inside host’s real (usually private) address. |
Inside global | The address the outside world sees for that host: here the router’s outside interface address, with a port to tell hosts apart (PAT). |
Outside local / Outside global | The remote host’s address as seen from inside and outside. Identical unless you also translate destinations. |
:port | With overload, the router keeps the source port where it can (51514) and changes it when two hosts collide. Both PCs sent DNS queries from port 53211: PC1 got it, so PC2’s 53211 became 1024. |
When it doesn’t look right
The table stays empty while hosts try to browse.
Check the three parts: ip nat inside on the LAN interface, ip nat outside on the internet interface, and an ACL in the ip nat inside source rule that actually matches the hosts’ addresses.
Only some subnets are translated.
The NAT ACL matches only those subnets. Add the missing ones, using wildcard masks.
Translations appear but there is still no internet.
Return traffic or routing is the problem: the router needs a default route toward the ISP.
Related commands
Try it yourself
- NAT Overload (PAT) (Pro)
- Static One-to-One NAT (Pro)
- Dynamic NAT Pool Setup (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
- NAT & PAT (4. IP Services)
- NAT Architecture & Address Terminology (4. IP Services)
- Dynamic NAT & Port Address Translation (PAT) (4. IP Services)
- Translate private addresses at the edge (Prerequisite review: CCNA topics from the CCNP courses)
Topic
NAT and PAT — Translate private addresses at the edge with static NAT, dynamic pools and PAT overload, and read the translation table.