遊戲連線站
VPN

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

By 杭予安 · · 8 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 IKEv2 VPN issues.

The Cisco command show crypto ikev2 sa displays Internet Key Exchange version 2 (IKEv2) security associations on a device. Run it in privileged EXEC mode to see whether the device has negotiated an IKEv2 session with a VPN peer, along with details such as the peer address, connection state, and session identifiers. It is a useful first check when bringing up or troubleshooting a site-to-site or remote-access VPN.

NordVPN — fast, secure VPN

Editor's pick: NordVPN — fast, secure VPN — Strong encryption, a no-logs policy and apps for every device. 30-day money-back guarantee. Get NordVPN →

What to inspect in `show crypto ikev2 sa`

Field or detailWhat it tells youHealthy indicationIf missing or unexpected
Peer addressRemote IKEv2 endpointExpected peer is listedCheck peer configuration and reachability
Local addressLocal IKE endpointExpected interface or addressCheck interface and routing
IKE versionNegotiated IKE protocol versionIKEv2Verify both peers use IKEv2
StateIKE security association statusEstablishedInvestigate negotiation or authentication
Session IDIdentifies an SA entryPresent for the expected sessionConfirm the correct peer and session
EncryptionIKE encryption algorithmMatches policyCheck compatible proposals
IntegrityIKE integrity algorithmMatches policyCheck compatible proposals
AuthenticationPeer authentication methodMatches configurationCheck credentials and identity settings

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

IKEv2 is the protocol used to negotiate and manage the secure relationship between VPN peers. The command reports the IKE SAs that the device currently knows about. An IKE SA protects the negotiation and control messages exchanged between peers. It is not, by itself, proof that user traffic is flowing through an IPsec tunnel.

At a device prompt, enter:

show crypto ikev2 sa

The exact output depends on the Cisco platform, software release, and configuration. A typical summary may show fields such as:

  • Local and remote addresses: The endpoints participating in IKEv2 negotiation.
  • State: Whether the IKE SA is being negotiated or is established.
  • Session ID: An identifier that can help correlate a session with other diagnostic output.
  • Status or authentication details: Information about the negotiation, depending on platform and release.
  • Connection count: The number of active IKEv2 SAs reported by the device.

To see more detail, some Cisco platforms support: FortiGate Client VPN: Setup, Security, and Troubleshooting

show crypto ikev2 sa detailed

Check the command reference for your specific platform and software version, as available options and displayed fields vary.

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

How to read the IKEv2 SA state

The state is one of the quickest clues about a tunnel’s negotiation progress. For a working IKEv2 control-plane session, look for an established state. State names and formatting differ across Cisco platforms, so interpret them in the context of the device’s output and documentation.

Observation What it suggests What to check next
An SA is established IKE negotiation completed for that peer Confirm an IPsec SA exists and traffic is passing
No SA appears No current IKEv2 session is listed Check peer reachability, configuration, and whether traffic has triggered negotiation
The SA remains in a negotiating state The exchange may be incomplete or failing Review IKE logs, authentication, proposals, and network reachability
The SA appears and disappears The session may be resetting or expiring Check peer stability, timers, logs, and connectivity between endpoints

A missing SA does not necessarily mean the configuration is wrong. Some VPNs negotiate only when traffic matching the VPN policy is sent. If the tunnel is idle, generate permitted traffic between the protected networks and check again.

Likewise, an established IKE SA confirms that the peers completed IKE negotiation, but it does not guarantee that the IPsec child SA is installed or carrying packets. Treat this command as a control-plane check, not the final test of end-to-end VPN service. Free VPN to Switch Country: What Works and What to Watch For

Use additional commands to build a fuller picture of the VPN:

show crypto ikev2 sa
show crypto ipsec sa
show crypto session

The IKEv2 command shows the negotiation relationship. show crypto ipsec sa displays IPsec SAs and commonly includes packet counters, while show crypto session provides a session-oriented summary on supported platforms.

For a targeted check, some devices accept a peer address as an argument, for example:

show crypto ikev2 sa remote <peer-address>

Syntax varies by platform and release. Use command help, such as show crypto ikev2 sa?, or consult the device’s command reference before relying on a filter or extended option. Free VPN to Change Country: What Works and What to Check

When checking traffic, compare encapsulation and decapsulation counters in the IPsec output:

  • Encapsulation increases: The local device is encrypting matching outbound traffic.
  • Decapsulation increases: The device is decrypting traffic received from the peer.
  • Only one direction increases: Investigate routing, access rules, NAT, the remote peer, and whether return traffic reaches the tunnel.
  • Neither counter increases: Confirm that test traffic matches the VPN policy and is routed through the VPN device.
Show crypto IKEv2 sa: How to Check IKEv2 VPN Security Associations: Key points

Interpreting IKEv2 SA states

State or resultInterpretationSA established?Next check
EstablishedIKE negotiation completedYesCheck the child SA and traffic
NegotiatingIKE exchange is in progressNo, not yetReview logs if it persists
No entryNo matching IKEv2 SA is displayedNoCheck peer, interface, and configuration
Authentication failurePeer authentication did not succeedNoVerify identities and credentials
Proposal mismatchPeers did not agree on cryptographic settingsNoCompare IKE proposals
Peer unreachableThe remote endpoint cannot be contactedNoCheck routing and network access
Stale entryDisplayed SA may no longer be usableUnclearRecheck status and logs

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

Troubleshooting when no SA is established

If the peer is missing or negotiation does not complete, work through the likely causes methodically. Start with basic connectivity, then verify that both endpoints agree on the IKEv2 settings. Best Free VPN That Allows You to Choose Location: What to Know

Check reachability and negotiation triggers

Confirm that the peers can reach each other over the network and that relevant traffic is permitted between them. Firewalls and intermediate devices must allow the required IKE and NAT traversal traffic, as applicable to the setup. Also confirm that interesting traffic is being generated if the configuration uses policy-based, on-demand negotiation.

Compare configuration on both peers

Verify that the endpoints agree on the settings required for IKEv2 negotiation, including:

  • IKE proposals and encryption, integrity, and Diffie–Hellman parameters
  • Authentication method and credentials, such as a pre-shared key or certificate
  • Local and remote identities, where explicitly configured
  • IPsec proposals or transform settings for the child SA
  • Protected network ranges, routing, and NAT exemption requirements

A mismatch may prevent negotiation or allow IKE to establish while preventing the IPsec child SA from forming.

Inspect logs and use debugging carefully

When the show command alone does not reveal the cause, review the device’s logs for IKEv2 errors. Cisco platforms may provide IKEv2-specific debug commands, but debugging can generate substantial output and affect device performance. Use it cautiously, preferably during a controlled troubleshooting window, and turn debugging off afterward. Xforticlientvpnsetup_7.2.10.1217_x64.exe: Download and Setup Guide

Recommendation

Start with show crypto ikev2 sa to confirm whether an IKEv2 session exists and inspect its state and peer details. Then run show crypto ipsec sa and check traffic counters to verify that the data-plane tunnel is installed and carrying traffic. If either stage fails, compare both peers’ settings and review logs before changing the configuration.

© 2026 Fernhollow Play Media · Fernhollow Play Media Ltd.