Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

IKEv2 · VPN

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting IKEv2 in VPN.

First 30 seconds

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.

Operational verification

IKE_SA_INIT → IKE_AUTH (+child SA) → CREATE_CHILD_SA rekeys

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Network security
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.

PlatformNetwork security
Scope / prerequisiteUse it when configuring, checking or troubleshooting IKEv2 in VPN.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

1 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 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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • show crypto ikev2 sa — IKEv2 SAs
  • swanctl --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.

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 docNetwork security current

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%
Terminology layer

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.

Aliases that resolve here
Internet Key Exchange version 2IKE_SA_INIT IKE_AUTHmodern IKE
Embedded reference data

Quick lookup tables

VPN → IKEv2 proof map

Fast scope, effective-policy, runtime-evidence and closure boundaries for VPN → IKEv2.

BoundaryEstablishDoes not establish
Scope and intentExact subjects, destinations, application, direction, trust zone and expected decisionDoes not prove effective path, identity, cryptography or enforcement
Effective control stateResolved rule/policy, session/SA, identity/posture, translation and selected pathObject/config presence does not prove a match or packet outcome
Runtime evidenceCorrelated client, authenticator/firewall/VPN, AAA and destination observations for one flow/timeA single log or success does not prove every packet, peer, path or failover state
ClosureOriginal allowed/denied operation behaves as intended and regression/failure tests passAdministrative commit or tunnel-up state alone is not closure
Confirmation

Confirm action

Continue?