Use it when the symptom is “VPN Failure”: work through the layers in order and stop at the first one that fails.
VPN Failure
1. VPN failures: auth (MFA, certificates), IKE/TLS negotiation, routing, split tunnel, MTU.
2. Check gateway and client logs.
3. Verify certificate and time.
4. Test reachability of UDP 500/4500 or 443.
5. Fix and retest.
client → gateway auth → tunnel → routes
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show crypto sessionShow Commands
Read-only and diagnostic commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Evidence path Verify boundary
underlay reachability → peer identity/authentication → IKE/TLS negotiation → SA/session/tunnel → selectors/routes/NAT/firewall → encrypt/decrypt → remote application response
Healthy evidence: Healthy evidence shows stable underlay, successful peer authentication/negotiation, matching policy/selectors, valid route/NAT/firewall state and bidirectional protected traffic reaching the intended application.
Step 2 Telling causes apart Verify boundary
Known-good requires show crypto session to report the intended peer/session as UP/ACTIVE, protected packet counters to increase for the exact test flow, and the same source/destination workload to succeed in both required directions. Broken evidence is a DOWN/negotiating session, selector mismatch, or an UP session with no counter movement during the test. Session state shows control-plane establishment only; end-to-end reachability and policy must be verified with the original protected traffic.
Step 3 Fault isolation and next checks Narrow the fault
Suspicious evidence: Suspicious evidence includes asymmetric selectors, rekey churn, authentication mismatch, NAT-T changes, route leakage, zero encrypt/decrypt counters, one-way traffic or tunnel-up/no-application behavior.
A tunnel-down or negotiation error shows secure-path establishment failed; a tunnel-up state shows only control/session establishment, not end-to-end application traffic.
Step 4 Observation-driven branch and next-check logic Narrow the fault
Inspect show crypto session on the affected peer and correlate the peer address/tunnel with the failing flow. If the session is DOWN, validate underlay reachability, identity/credentials and IKE/IPsec proposal compatibility; if it is UP but traffic fails, inspect routing, crypto selectors/ACLs and packet counters on both peers. If only one subnet or direction fails, compare selectors and return routing before resetting the tunnel. Preserve timestamps/counters so a renegotiation does not erase the original symptom.
Step 5 Common mistakes Narrow the fault
- Debugging the tunnel before routing.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- VPN connected ≠ protected application reachable; routing, selectors, NAT, firewall and remote service state still matter.
- Peer reachable ≠ IKE/TLS negotiation healthy.
- Security association present ≠ useful traffic matches or traverses it.
- Rekey/reconnect success ≠ root cause fixed if stale state or intermittent dependency returns.
show crypto ikev2 sa / swanctl --list-sas— tunnel state- VPN client logs — error
- Gateway auth logs (RADIUS/IdP) — user auth
ReferenceHow it works1 section · depth on demand
How it works and how it fails
VPN Failure spans underlay reachability, IKE/security-association negotiation, authentication, transform/policy agreement, selector/routing state and encrypted data-plane counters. On IOS/IOS XE, show crypto session summarizes session state but the tunnel's control-plane establishment and useful protected traffic are distinct. A session can be UP while interesting traffic misses selectors, routes elsewhere or fails behind the peer.
ReferenceImportant terms & boundaries1 section · depth on demand
What this shows and what it does not
A tunnel-down or negotiation error shows secure-path establishment failed; a tunnel-up state shows only control/session establishment, not end-to-end application traffic.
Operational checks for VPN Failure — Ownership and limit of what it shows: Anchor the same principal/session/packet and policy version through validation, decision, enforcement and protected-resource outcome. Close with Verify proposals/identity and child selectors, then generate the exact protected flow and confirm encaps/decaps counters plus remote/return-path behavior. and state what the evidence does not show.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security Troubleshooting → VPN Failure. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.nist.gov/cyberframework · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
VPN Failure troubleshooting/evidence map
Fast scope, policy, enforcement, telemetry and verification boundaries for VPN Failure.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Scope / baseline | Failing case and known-good comparison are reproducible | Symptom changes across users, devices, paths or time without explanation |
| Policy / decision | Authoritative state explains the expected decision | Stale, conflicting or unexpected policy/context changes the decision |
| Enforcement / telemetry | Runtime action and same-window telemetry agree | Decision, enforcement and logs disagree or coverage is missing |
| Verification | Original test and security regression both pass | Temporary recovery, bypass or adjacent regression remains |