Use it when configuring, checking or troubleshooting IKEv2 in VPN.
IKEv2 · VPN
IKEv2 is the current Internet Standard key-management protocol for IPsec, using IKE_SA_INIT and IKE_AUTH to establish an authenticated IKE SA and CREATE_CHILD_SA for protected traffic and rekeying.
1. IKEv2: fewer messages, built-in NAT-T, EAP, MOBIKE.
2. Preferred for new tunnels.
3. Child SAs per traffic selector.
4. Rekey without interruption.
5. Strong proposals.
IKE_SA_INIT → IKE_AUTH (+child SA) → CREATE_CHILD_SA rekeys
Context & applicabilityCommon mistakes · platform/version boundaries
An authenticated IKEv2 SA shows peer authentication and key establishment under policy, but it does not show the child SA covers or delivers the intended flow.
Suspicious evidence: INVALID_KE, AUTHENTICATION_FAILED, ID/SAN mismatch, missing intermediate, PSK selection, TS_UNACCEPTABLE, fragment loss, MOBIKE/path issue or rekey collision.
Operational reference
Fast context before you go deeper.
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 Verification path Verify boundary
IKE_SA_INIT proposal/KE/nonces → IKE_AUTH identities/cert/EAP/AUTH → IKE SA → child SA/selectors → liveness/rekey/delete → data traffic
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.
- IKE_SA_INIT success ≠ authenticated peer.
- IKE_AUTH success ≠ every traffic selector accepted.
- Tunnel or SA up ≠ protected application traffic succeeds.
- Cryptographic negotiation ≠ correct identity, selector, route or application outcome.
show crypto ikev2 sa— IKEv2 SAsswanctl --list-sas— strongSwan- Proposal config — AES-GCM, SHA-2, DH 19/20
ReferenceWhat it is1 section · depth on demand
Exchanges
1. IKE_SA_INIT: algorithms, DH exchange, nonces, NAT detection (2 messages).
2. IKE_AUTH: identities, authentication (PSK, certificates, EAP) and the first Child SA (2 messages).
3. CREATE_CHILD_SA: more Child SAs or rekeying.
4. INFORMATIONAL: DPD, delete, errors.
Debug on IOS XE: debug crypto ikev2 (errors such as NO_PROPOSAL_CHOSEN, AUTHENTICATION_FAILED, TS_UNACCEPTABLE).
ReferenceHow it works1 section · depth on demand
Decision and enforcement journey
IKEv2 is verified as a decision/enforcement journey: peer reachability → IKE SA negotiation/authentication → CHILD SA selectors/keys → policy/routing → protected traffic.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
An authenticated IKEv2 SA shows peer authentication and key establishment under policy, but it does not show the child SA covers or delivers the intended flow.
In depth
IKEv2 establishes an IPsec tunnel with an initial exchange of four messages: IKE_SA_INIT (algorithms, DH, nonces) and IKE_AUTH (identities, authentication, first child SA). Additional child SAs and rekeys use CREATE_CHILD_SA.
crypto ikev2 proposal PROP-1
encryption aes-gcm-256
prf sha384
group 20
crypto ikev2 profile IKEV2-PROF
match identity remote fqdn hub.example.com
identity local fqdn branch07.example.com
authentication remote rsa-sig
authentication local rsa-sig
pki trustpoint CORP-CA
dpd 10 3 on-demand
Certificates (rsa-sig/ecdsa-sig) with FQDN identities scale better than PSKs. Dead peer detection (DPD) clears stale SAs so failover to backup tunnels happens promptly.
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 VPN → IKEv2. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc4301 · 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 → IKEv2 proof map
Fast scope, effective-policy, runtime-evidence and closure boundaries for VPN → IKEv2.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact subjects, destinations, application, direction, trust zone and expected decision | Does not prove effective path, identity, cryptography or enforcement |
| Effective control state | Resolved rule/policy, session/SA, identity/posture, translation and selected path | Object/config presence does not prove a match or packet outcome |
| Runtime evidence | Correlated client, authenticator/firewall/VPN, AAA and destination observations for one flow/time | A single log or success does not prove every packet, peer, path or failover state |
| Closure | Original allowed/denied operation behaves as intended and regression/failure tests pass | Administrative commit or tunnel-up state alone is not closure |