VPN软件免费版评测
VPN

Show crypto IKEv2 sa: How to Check IKEv2 VPN Security Associations

阮星澜··9 min
Show crypto IKEv2 sa: How to Check IKEv2 VPN Security Associations

Learn what show crypto ikev2 sa displays, how to read its output, and how to troubleshoot common Cisco VPN issues.

The Cisco command show crypto ikev2 sa displays Internet Key Exchange version 2 (IKEv2) security associations on a device. Use it to verify whether the device has negotiated an IKEv2 session with a VPN peer and to inspect the session’s state and basic connection details. If you are troubleshooting a tunnel, this is a useful first check, but it does not, by itself, prove that protected traffic is flowing.

IKEv2 security association fields and what they tell you

Field or indicatorWhat it describesWhat to look forWhat it helps verify
PeerRemote VPN endpointExpected peer addressCorrect tunnel endpoint
StatusSA stateActive or establishedWhether the SA is up
IKE versionNegotiated IKE protocolIKEv2Protocol selection
EncryptionIKE protection algorithmExpected cipherIKE traffic protection
IntegrityIKE message authenticationExpected integrity algorithmMessage integrity
DH groupKey exchange groupExpected groupKey agreement settings
AuthenticationPeer authentication methodExpected methodAuthentication configuration
LifetimeSA rekey or expiry timerExpected timer behaviorRekey expectations

Compiled November 2026; check the provider's site for current details.

VPN prices compared
VPNObfuscationFrom / monthPlanFree planRefundAlipayWeChatUnionPayCryptoWebsite opens in ChinaTrustpilot
ZoogVPNTurn on manually
Shadow
$2.49/mo27 months: $59.99Yes7 days✓✓✓✓Official site blocked; our special link opens (4.4 s)4.2/5 (195 reviews)
NordVPNTurn on manually
Obfuscated Servers / NordWhisper
$3.49/mo27 months: $94.23No30 days?✗✓✓✗ Blocked4.2/5 (51,628 reviews)
ExpressVPN✓ On by default
all servers
$3.00/mo28 months: $84No30 days✗✗✓✗✗ Blocked4.4/5 (29,706 reviews)
Surfshark✓ On by default
Camouflage, with OpenVPN
See siteSee siteNo30 days✗✗✗✓✗ Blocked4.3/5 (31,823 reviews)
Proton VPNTurn on manually
Stealth, free plan too
$2.99/mo12 months: $35.88Yes30 days✗✗✗✓✗ Blocked2.1/5 (1,040 reviews)
Astrill VPNTurn on manually
StealthVPN / OpenWeb
$12.50/mo24 months: $300NoSee site✗✗✗✓✗ Blocked1.3/5 (110 reviews)
Private Internet AccessTurn on manually
Shadowsocks, OpenVPN only
$2.03/mo40 months: $81.2No30 days✗✗✗✗✗ Blocked4.2/5 (11,033 reviews)
CyberGhostTurn on manually
selected servers
$2.19/mo28 months: $61.32No45 days✗✗✗✓✗ Blocked4.0/5 (24,178 reviews)
PureVPNTurn on manually
switch to OpenVPN
$1.69/mo60 months: $101.55No31 days??✗✓✗ Blocked4.4/5 (17,994 reviews)
AdGuard VPN✓ On by default
TrustTunnel
$2.99/mo24 months: $71.76Yes30 days✓✗✓✓Official site blocked; our special link opens (3.7 s)4.3/5 (290 reviews)
MullvadTurn on manually
QUIC / Shadowsocks / LWO
$5.61/mo€5/moNo14 days✗✗✗✓✗ Blocked3.2/5 (192 reviews)
WindscribeTurn on manually
Stealth / WStunnel
$5.75/mo12 months: $69YesSee site✗✗✗✓✗ Blocked4.7/5 (13,355 reviews)
StrongVPNTurn on manually
Scramble, OpenVPN TCP
See siteSee siteNo30 days✓✗✗✗✗ Blocked4.4/5 (2,695 reviews)
LightXtreme 闪连Not listed$7.08/mo12 months: $84.99Yes30 days✓✓✓✓✓ Yes (3.5 s)No page

Prices checked 2026-11-10 on each vendor's pricing page (cheapest long plan, USD). Check the vendor's checkout for the final price.

Obfuscation checked 2026-11-14 on each vendor's site and help center: "on by default" = nothing to set; "turn on manually" = switch protocol or mode in settings; "not listed" = the vendor describes no obfuscation.

Payment methods checked 2026-11-10 on each vendor's payment pages: all 14 take cards and PayPal; ✗ = not listed, ? = the vendor's own pages disagree.

China access: whether the official website opens from mainland China networks (tests the website only, not the VPN connection). Last checked 2026-11-18 01:02 Beijing time.

Trustpilot score and review count checked 2026-11-10.

What the command shows

An IKEv2 security association, or IKE SA, is the control-plane relationship used by two VPN peers to negotiate and manage a secure connection. The command reports information about these IKE sessions, such as the local and remote addresses, identifiers, connection state, and session parameters.

Enter the command in privileged EXEC mode on supported Cisco platforms:

show crypto ikev2 sa

The exact fields and formatting can vary by platform and software release. A simplified output might look like this:

IPv4 Crypto IKEv2 SA

Session-id: 12, Status: READY
Local: 203.0.113.10/500
Remote: 198.51.100.20/500
Encr: AES-CBC, Hash: SHA256

Treat this as an illustrative example, not a guaranteed output format. Your device may show additional fields or use different labels. VPN FortiClient: What It Is, How to Connect, and Which Version to Choose

Show crypto IKEv2 sa: How to Check IKEv2 VPN Security Associations: Checklist

How to read the output

Start with the peer addresses and the state. Then review the remaining details to understand which session you are looking at.

  • Local and Remote: Identify the local device and the IKEv2 peer. Check that the remote address matches the VPN endpoint you expect.
  • Status or State: Indicates where the IKEv2 session is in its lifecycle. A state such as READY commonly indicates that IKE negotiation has completed, though the precise labels depend on the platform.
  • Session ID: Helps distinguish this session from other IKEv2 sessions on the device. Use it when narrowing command output or comparing related information.
  • Encryption and integrity details: May show negotiated algorithms, such as the encryption and hash or integrity methods. Compare these with the intended policy on both peers.
  • Ports and transport details: Some output includes port or other session information. IKE commonly uses UDP port 500, and NAT traversal commonly uses UDP port 4500.

Do not judge tunnel health from a single field. A completed IKE SA shows that the peers established the IKE control relationship. The data-plane IPsec security associations may still be missing, expired, or unable to pass traffic.

Useful command variations

Cisco platforms and releases differ in which filters and related commands they support. Check the device’s command help if a variation is rejected.

Command What it helps you inspect
show crypto ikev2 sa IKEv2 sessions and their negotiation state
show crypto ikev2 sa detail More session details, when supported
show crypto ikev2 sa remote <peer-address> A session associated with a specified peer, when supported
show crypto ipsec sa IPsec data-plane SAs, traffic counters, and protected traffic details
show crypto ikev2 policy Configured IKEv2 policies
show crypto ikev2 proposal Configured IKEv2 proposals, where supported

For example, a detailed or peer-specific form can make a busy device easier to inspect: FortiGate Client VPN: Setup, Security, and Troubleshooting

show crypto ikev2 sa detail
show crypto ikev2 sa remote 198.51.100.20

If the device does not accept these forms, use show crypto ikev2 sa and consult the command reference for its operating system and release.

Useful command variations for checking IKEv2 SAs

Command optionScopeBest used forOutput focus
`show crypto ikev2 sa`IKEv2 SAsGeneral status checkPeers and SA state
`show crypto ikev2 sa detail`Detailed SA informationChecking negotiated parametersAlgorithms and timers
`show crypto ikev2 sa remote <address>`One remote peerIsolating a tunnelPeer-specific state
`show crypto ikev2 sa local <address>`One local endpointChecking a selected interface addressLocal peer details
`show crypto ikev2 sa summary`Summary viewQuick overviewSA counts and states
`show crypto session`VPN session viewCross-checking session statusSession and traffic details
`show crypto ipsec sa`IPsec SAsVerifying the data planeIPsec counters and transforms

Compiled November 2026; check the provider's site for current details.

Troubleshooting common results

No IKEv2 SAs appear

An empty result means the device is not currently showing an established IKEv2 session. Possible reasons include a peer that has not initiated negotiation, an unreachable remote endpoint, or a configuration mismatch. VPN Extension Free Edge: How to Choose One for Microsoft Edge

Check:

  • Whether the remote peer is reachable and the VPN is expected to be active.
  • Whether the local and remote peer addresses are correct.
  • Whether UDP ports 500 and 4500 are permitted along the path, as applicable.
  • Whether both devices have compatible IKEv2 proposals, identities, authentication settings, and shared secrets or certificates.
  • Whether the tunnel uses on-demand negotiation and has had traffic to trigger it.

The session is not in a ready state

A session in an intermediate or failed state can indicate that negotiation has not completed. Compare the settings on both peers, especially authentication, identity, and cryptographic proposals. Also check system logs and platform-supported IKEv2 diagnostics for a more specific reason.

The IKE SA is up, but traffic does not pass

Check the IPsec SAs with:

show crypto ipsec sa

Review whether the expected traffic selectors or proxy identities are present and whether packet counters increase when you generate matching traffic. If IKE is established but IPsec SAs are absent, investigate the child-SA negotiation and traffic selectors. If IPsec SAs exist but counters do not move, verify routing, access lists, NAT exemption, and firewall policy. Best Free VPN to Switch Country: What to Know Before You Connect

The peer or algorithms look unexpected

Confirm that you are examining the correct session, particularly when several peers connect to the device. Compare the negotiated parameters with the approved configuration and the settings on the remote endpoint. A mismatch between the intended configuration and the displayed session may point to an incorrect policy, proposal, identity, or peer selection.

Show crypto IKEv2 sa: How to Check IKEv2 VPN Security Associations: Key points

A practical verification sequence

For a quick, structured check, run the commands in this order:

  1. Inspect IKE: Run show crypto ikev2 sa and confirm that the expected peer is listed in a completed state.
  2. Inspect IPsec: Run show crypto ipsec sa and confirm that the expected protected traffic and SAs are present.
  3. Check counters: Generate traffic that should cross the VPN, then see whether the relevant encapsulation and decapsulation counters change.
  4. Review configuration: Check the IKEv2 policy, proposals, authentication, peer identity, and the IPsec settings.
  5. Investigate logs: If negotiation still fails, use platform-appropriate logs and diagnostic commands. Debugging can produce substantial output, so use it carefully in production and disable it when finished.

This sequence separates control-plane negotiation from data-plane forwarding and helps avoid treating an active IKE SA as proof that the complete VPN path works.

Common IKEv2 SA results and next checks Best Free VPN Extension for Edge: What to Choose

ResultLikely interpretationNext checkWhat to confirm
Active or establishedIKE SA is upCheck IPsec SAsData-plane SAs exist
No matching SANo SA matches the queryCheck peer address and filtersCorrect query scope
No IKEv2 SAs shownNo visible IKEv2 SA is establishedCheck configuration and logsPeer and proposal settings
SA is downNegotiation did not complete or SA was removedReview IKEv2 logsFailure reason
Peer differs from expectedSA may use another endpointCheck routing and peer configurationIntended remote address
Algorithms differ from expectedNegotiated settings may not match policyInspect detailed output and proposalsCompatible transforms
IKE SA exists but traffic failsIKE control plane is up; data plane may not beCheck IPsec SAs and countersSelectors and packet flow
SA disappears after a periodRekey, timeout, or peer interruption may be involvedCheck timers and logsRekey and connectivity behavior

Compiled November 2026; check the provider's site for current details.

Recommendation

Use show crypto ikev2 sa as your first check for IKEv2 peer status, then verify IPsec SAs and traffic counters before concluding that the VPN is operational. Always confirm command options and output fields against the Cisco platform and software version you are using.

© 2026 青枫软件评测 · Qingfeng Software Review Ltd.