Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Troubleshooting · NAT

Direct answer

NAT/PAT troubleshooting is most reliable when the exact test flow is followed across routing, interface role, classification, translation creation and return traffic. show ip nat translations and show ip nat statistics are the primary read-only checkpoints in this source taxonomy.

When to use this

Use this topic when translations are missing, the wrong address is used, new sessions fail while old ones work, PAT appears exhausted, or a translation exists but end-to-end traffic still fails.

First 30 seconds

Record one IPv4 flow and expected translated tuple. Read NAT translations/statistics before and after a fresh bounded flow; do not clear existing state.

Operational verification

exact IPv4 flow → route and inside/outside roles → classifier/rule → translation and counter delta → outside response → reverse translation and client result

Evidence · next step

Verify route/interface path, inside/outside roles and the ACL/static mapping in that order, then repeat one fresh test.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · IOS/IOS XE · Cisco IOS XE
Key commandclear ip nat translation *
Scope / prerequisiteUse this topic when translations are missing, the wrong address is used, new sessions fail while old ones work, PAT app…
Show · 2Troubleshoot · 1Reference · 1
What next?3 suggested next steps
Catalog command links4
Evidence5
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show ip nat translations

Look first: inside local/global and outside local/global tuple

Healthy: Translation matches intended source/destination/session.

Warning: No expected entry, wrong pool/address or stale/unexpected mapping.

Does not prove: A translation entry does not prove return traffic or application success.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

8 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 First 30 seconds Verify boundary

Immediate answer: Generate one controlled flow and correlate route, inside/outside roles, rule match, translation and return traffic in time order.

Verification chain: inside packet → route/classification → NAT rule → translation → outside route → return packet → reverse translation → client

Stop condition: A translation entry narrows the failure beyond initial NAT classification but does not show remote service or return-path success.

Step 2 Known-good, broken and proof-boundary verification Verify boundary

Known-good NAT is demonstrated by the expected translation for the exact test tuple, counters increasing on the intended rule, routable translated traffic and successful return through reverse translation. Broken state includes no-match, wrong global/local address, exhaustion or asymmetric return. Record before/after translation state around one controlled flow. A translation table entry does not show Internet reachability, DNS, TCP/TLS or application success; the limit of what it shows is closed only when the original workload succeeds and translation counters behave as expected.

Step 3 NAT closure, negative test and intervention boundary Verify boundary

Illustrative PAT interpretation, not captured device output: a TCP mapping from inside-local 10.10.10.10:49152 to inside-global 192.0.2.10:40001, targeting 198.51.100.20:443, identifies one translation. It does not show the handshake completed. Correlate the exact tuple with the remote response and successful client request.

Close the fault only when the original application flow succeeds in both directions, the expected mapping is observed and an adjacent known-good flow still works. In an isolated lab, test a deliberately non-matching source to show that the selected NAT classifier excludes it; lack of translation alone is not a general security-denial guarantee.

Before any clear/debug intervention, capture relevant state, define affected scope and a stop condition, and preserve the reviewed configuration. A cleared dynamic session cannot be restored by pasting a configuration backup: the endpoint must establish it again. Stop debugging with undebug all when the bounded collection ends. Configuration changes require their own exact rollback and repeat of the original flow.

Examples are authored reference guidance. No device execution, packet capture or new verification date is claimed.

Step 4 NAT: missing translation versus failed return flow Narrow the fault

Follow the same fresh flow through these branches:

1. No matching translation: confirm the packet reaches this router and traverses the intended inside/outside interfaces. Inspect the relevant configuration with show running-config, the exact route with show ip route <destination> and the classifier with show access-lists. A configured NAT rule is not evidence that this flow matches it.

2. Eligible traffic but no allocation: inspect show ip nat statistics for pool usage and allocation limits; distinguish address-pool exhaustion from PAT port/resource limits. Interpret platform-specific counters using the deployed release documentation.

3. Matching translation but no reply: verify the outside route, downstream filtering, remote listener and return route to the translated address. Inspect both sides using an approved bounded capture if table observations cannot locate the break.

4. Reply reaches NAT but the application fails: correlate the reverse tuple, inside route, ACL/firewall state and endpoint response. A successful ping is not a substitute for the original TCP/UDP service test.

Do not clear all translations to make a fresh-flow test. Use a new connection/tuple. If a stale entry is actually implicated, review the release-supported targeted clear and affected sessions before any intervention; it still changes state.

Step 5 Verification & troubleshooting Narrow the fault

1. Record source/destination/protocol/ports and expected translated tuple.

2. Verify routes and the packet actually crosses the intended inside → outside boundary.

3. Verify inside/outside roles and NAT rule/classifier.

4. Generate a fresh flow and inspect translations.

5. Inspect statistics/hits/misses/pool state.

6. Clear state only when justified and with impact understood.

7. Use debug only when read-only evidence cannot isolate the boundary.

8. If NAT is correct, continue to ACL/firewall, remote service and return-path evidence.

Step 6 Evidence-first workflow Narrow the fault

No translation for a fresh matching flow: show routing to the NAT device, inside/outside roles, source classifier and rule reference.

Translation exists but session fails: stop changing NAT and inspect outside route/policy, remote listener and return path for the translated tuple.

Existing clients work but new clients fail: inspect dynamic pool/PAT capacity, state lifetime and counters.

After a configuration change: generate a new test flow; old state can hide or preserve previous behavior. Use clear ip nat translation * only when session impact is acceptable.

Step 7 Failure isolation: observation → implication → next check Narrow the fault

If no translation appears for a known test flow, verify inside/outside interface roles, the pre-NAT source/destination tuple, route/VRF and rule match counters first. If a translation is created but no response returns, inspect outside reachability, upstream filtering and reverse translation. If translations exhaust or flap, inspect pool/PAT capacity and timeout behavior. If only one application fails, compare transport ports and overlapping exemptions/policy NAT. Clear state only when evidence shows stale state is the failing step.

Step 8 Common mistakes Narrow the fault
  • Clearing translations during production.
  • Looking at NAT before checking routing to the outside.
Evidence references

Evidence · 5 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 3observation · 2
Command lookup Jump straight to Cisco syntax
Troubleshooting trees

Start from the symptom

Prove the nearest boundary, branch on the observation, and repeat the original test after the minimum controlled change.

Symptom-first flow Expected NAT translation is missing 7 decision steps

First proof

Prove the packet reaches the NAT boundary and matches the intended rule before clearing translations.

Useful read-only checks: show ip nat translations · show ip nat statistics · show access-lists · show ip route

Step 1 Original packet reaches inside boundary Observe → decide

Confirm source/destination and ingress interface.

If healthy: The intended traffic reaches the NAT device.

If broken: Fix upstream VLAN/routing first.

Step 2 Inside/outside roles Observe → decide

Verify NAT interface roles match the traffic direction.

If healthy: Roles align with the intended translation path.

If broken: Correct interface-role design before ACL changes.

Step 3 Classification matches Observe → decide

Check NAT ACL/route-map/policy counters for the controlled flow.

If healthy: The flow matches the intended rule.

If broken: Resolve shadowing/non-match instead of clearing state.

Step 4 Translation is created Observe → decide

Inspect translation/statistics during the controlled test.

If healthy: Expected inside local/global tuple appears.

If broken: Check pool/exhaustion/config semantics.

Step 5 Post-NAT route exists Observe → decide

Verify routing for the translated destination and return path.

If healthy: Translated traffic has a valid path.

If broken: Fix routing rather than NAT if translation exists.

Step 6 Return translation works Observe → decide

Confirm return traffic maps back to the inside host.

If healthy: Bidirectional translation state is consistent.

If broken: Investigate asymmetric return or stateful firewall boundary.

Step 7 Repeat the original application test Observe → decide

Retest the same session without broad clears.

If healthy: Application succeeds with expected translation.

If broken: Translation presence alone is not application proof.

Proof limit

A passing step proves only that boundary; continue until the original symptom is explained and retested.

Failure signatures

Recognize the symptom, then prove the boundary

Observed symptom → candidate boundary → discriminating check → original-test closure. A signature narrows the search; it never proves root cause by itself.

Expected NAT translation is not created
1 · Observe

Controlled traffic crosses the inside boundary but no expected translation appears.

2 · Candidate boundaries

inside/outside classification · NAT match ACL/policy · routing before NAT path · pool/PAT availability

3 · Discriminate

prove packet reaches NAT device → verify interface roles and match conditions → check route and counters

4 · Proof limit

Missing translation does not automatically prove the NAT rule syntax is wrong.

Repeat the original failing test after the minimum controlled change before calling recovery verified.
NAT translation exists but flow still fails
1 · Observe

A translation entry is created, yet the original application/test receives no successful return traffic.

2 · Candidate boundaries

return routing · upstream policy/firewall · application/server · asymmetric path

3 · Discriminate

verify outside-leg traffic → prove return route → correlate translation counters with the original flow

4 · Proof limit

A translation entry proves matching/state creation, not end-to-end success.

Repeat the original failing test after the minimum controlled change before calling recovery verified.
Key points
  • No translation usually points first to wrong path/interface roles, non-matching classification, missing rule, or traffic that never reached the NAT boundary
  • A translation with no application success moves the boundary downstream to routing, policy, remote service or return path
  • clear ip nat translation * removes translation state and can disrupt active sessions; it is not a harmless verification command
  • debug ip nat can be high-volume and CPU/log intensive; use narrowly and deliberately on production systems
  • Always distinguish old cached translation state from behavior of a newly generated test flow.
Key checks

1. Record addresses, protocol/ports, interfaces and time.

2. Check routes, inside/outside roles and NAT classifier.

3. Read show ip nat translations and show ip nat statistics.

4. Generate one fresh application flow and correlate mapping/counter deltas.

5. Follow outside and return traffic if translation exists.

6. Treat clear/debug as separate reviewed interventions; a global clear can interrupt sessions.

ReferenceWhat it is1 section · depth on demand

What it is

NAT/PAT troubleshooting is most reliable when the exact test flow is followed across routing, interface role, classification, translation creation and return traffic. show ip nat translations and show ip nat statistics are the primary read-only checkpoints in this source taxonomy.

ReferenceHow it works2 sections · depth on demand

Mechanics, state owner and dependency boundary

NAT processing depends on inside/outside role, route selection, translation rule matching and the creation/use of translation state. Static mappings, dynamic pools and PAT have different allocation behavior, but all require the packet to cross the correct NAT boundary. A translation entry is effective-state evidence for a matched flow, not evidence that the return packet traverses the same device or that an application session succeeds. ACL/route policy can prevent a packet from ever reaching the intended NAT rule.

NAT observations before state changes

Scope: Cisco IOS / IOS XE, traditional IPv4 inside/outside NAT in the global routing table. NVI, VRF-aware NAT and platform-specific hardware paths require their own release documentation.

Record the original source/destination addresses, protocol and ports, expected translated tuple, interfaces and time window. Read show ip nat translations and show ip nat statistics before generating one bounded fresh application flow. Compare the translation and counter delta afterward. Inside local is the inside endpoint address; inside global is its translated identity. A matching entry shows translation state exists, not that a reply reached the client. Check routing and inside/outside interface roles independently; aggregate hits can belong to other traffic.

clear ip nat translation * is a state-changing operation that removes dynamic translations and can interrupt sessions. It is not a read-only diagnostic. debug ip nat also changes operational instrumentation and can create substantial CPU/log load. Keep both outside the initial observation sequence. Preserve the original observations first.

Reference: Cisco IOS XE 17.x NAT monitoring and maintenance.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Troubleshooting NAT: check the translation table first

show ip nat translations shows whether a translation exists, and show ip nat statistics shows hits, misses, pool usage and configured interfaces. Cisco's IOS XE NAT guide documents show ip nat translations verbose, which adds create time, last use and time left for each entry.

R1# show ip nat statistics
R1# show ip nat translations verbose | include 10.20.0.64
tcp  203.0.113.2:51842     10.20.0.64:51842      198.51.100.25:443     198.51.100.25:443
  create 00:02:11, use 00:00:03, timeout:7440000, left 02:03:56, Map-Id(In): 1,
R1# clear ip nat translation inside 203.0.113.2 10.20.0.64
R1# clear ip nat translation *
R1# debug ip nat detailed

clear ip nat translation * removes all dynamic translations and breaks every active session. Use the specific form where possible.

Checklist

StepCheck
1ip nat inside and ip nat outside on the correct interfaces (show ip nat statistics lists them)
2The NAT ACL matches the source addresses (show access-lists hit counters)
3A translation is created when the host sends traffic
4Upstream routes the global address back to this router
5No ACL on the outside interface blocks the return traffic

Common causes from the guide's restrictions

SymptomCause
Some traffic isn't translatedACL too narrow, or traffic generated by the router itself
Configuration rejected or erraticpermit ip any any in the NAT ACL; interface address used in a pool
Outside interface addresses appear in translationsThe guide notes this is default; deny the outside interface's subnet in the NAT ACL
New users fail while existing ones workPool exhausted (allocated 100%) or PAT port exhaustion (drop counters)
VoIP or SIP problemsThe SIP ALG on port 5060 is on by default

Asymmetric routing

NAT state exists on one router. If the return traffic comes back through another router or firewall, it has no translation and is dropped. With two Internet routers, keep each flow's outbound and return path on the same device, or use stateful NAT redundancy.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

NAT troubleshooting checks interface roles, the match criteria and the translation table.

1. Verify ip nat inside and ip nat outside on the correct interfaces.

2. Check the ACL/route map that selects traffic for translation matches the source.

3. Generate traffic and look for a translation: show ip nat translations.

4. Check statistics for misses and pool exhaustion: show ip nat statistics.

5. Confirm the outside network routes the public address back to this router.

6. Use debug ip nat briefly with a filtered ACL.

SymptomLikely cause
No translation createdWrong inside/outside, ACL mismatch
Translation created, no replyReturn routing or upstream filter
Works for some hostsPool exhausted (dynamic NAT)
Inbound to server failsMissing static NAT or ACL
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 3022

Authoritative/upstream documentation reviewed for bounded claims in IP Services → NAT → Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc3022.html · confidence 94%
Embedded reference data

Quick lookup tables

NAT/PAT troubleshooting flow

Move from path and matching to state, then beyond NAT

StepProveEvidence
1Packet should cross this NAT deviceRIB/interface/path
2Correct interface rolesRunning config / show ip nat statistics
3Source matches intended ruleACL + NAT mapping config
4New translation is createdshow ip nat translations
5NAT subsystem sees traffic/capacityshow ip nat statistics
6Outside path/policy worksRIB/ACL/firewall/capture
7Reply returns through translationCapture/state
8Application respondsTCP/UDP/application evidence

NAT translation output cues

Interpret common fields without over-inferring

CueMeaningDoes not prove
Inside local/global pairLocal translated identity existsRemote service health
TCP/UDP ports shownPAT/extended tuple state existsReturn packet arrived
Static entryPersistent mapping is representedOutside route/ARP/policy
Hits increaseNAT subsystem matched/translated trafficEnd-to-end success
No new entry for test flowTranslation was not createdExact cause without role/match/path checks
Confirmation

Confirm action

Continue?