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.
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 detail | What it tells you | Healthy indication | If missing or unexpected |
|---|---|---|---|
| Peer address | Remote IKEv2 endpoint | Expected peer is listed | Check peer configuration and reachability |
| Local address | Local IKE endpoint | Expected interface or address | Check interface and routing |
| IKE version | Negotiated IKE protocol version | IKEv2 | Verify both peers use IKEv2 |
| State | IKE security association status | Established | Investigate negotiation or authentication |
| Session ID | Identifies an SA entry | Present for the expected session | Confirm the correct peer and session |
| Encryption | IKE encryption algorithm | Matches policy | Check compatible proposals |
| Integrity | IKE integrity algorithm | Matches policy | Check compatible proposals |
| Authentication | Peer authentication method | Matches configuration | Check credentials and identity settings |
Compiled November 2026; check the provider's site for current details.
| VPN | Obfuscation | From / month | Plan | Free plan | Refund | Alipay | UnionPay | Crypto | Website opens in China | Trustpilot | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Turn on manually Shadow | $2.49/mo | 27 months: $59.99 | Yes | 7 days | ✓ | ✓ | ✓ | ✓ | Official site blocked; our special link opens (4.4 s) | 4.2/5 (195 reviews) | |
| Turn on manually Obfuscated Servers / NordWhisper | $3.49/mo | 27 months: $94.23 | No | 30 days | ? | ✗ | ✓ | ✓ | ✗ Blocked | 4.2/5 (51,628 reviews) | |
| ✓ On by default all servers | $3.00/mo | 28 months: $84 | No | 30 days | ✗ | ✗ | ✓ | ✗ | ✗ Blocked | 4.4/5 (29,706 reviews) | |
| ✓ On by default Camouflage, with OpenVPN | See site | See site | No | 30 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.3/5 (31,823 reviews) | |
| Turn on manually Stealth, free plan too | $2.99/mo | 12 months: $35.88 | Yes | 30 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 2.1/5 (1,040 reviews) | |
| Turn on manually StealthVPN / OpenWeb | $12.50/mo | 24 months: $300 | No | See site | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 1.3/5 (110 reviews) | |
| Turn on manually Shadowsocks, OpenVPN only | $2.03/mo | 40 months: $81.2 | No | 30 days | ✗ | ✗ | ✗ | ✗ | ✗ Blocked | 4.2/5 (11,033 reviews) | |
| Turn on manually selected servers | $2.19/mo | 28 months: $61.32 | No | 45 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.0/5 (24,178 reviews) | |
| Turn on manually switch to OpenVPN | $1.69/mo | 60 months: $101.55 | No | 31 days | ? | ? | ✗ | ✓ | ✗ Blocked | 4.4/5 (17,994 reviews) | |
| ✓ On by default TrustTunnel | $2.99/mo | 24 months: $71.76 | Yes | 30 days | ✓ | ✗ | ✓ | ✓ | Official site blocked; our special link opens (3.7 s) | 4.3/5 (290 reviews) | |
| Turn on manually QUIC / Shadowsocks / LWO | $5.61/mo | €5/mo | No | 14 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 3.2/5 (192 reviews) | |
| Turn on manually Stealth / WStunnel | $5.75/mo | 12 months: $69 | Yes | See site | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.7/5 (13,355 reviews) | |
| Turn on manually Scramble, OpenVPN TCP | See site | See site | No | 30 days | ✓ | ✗ | ✗ | ✗ | ✗ Blocked | 4.4/5 (2,695 reviews) | |
| Not listed | $7.08/mo | 12 months: $84.99 | Yes | 30 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.
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
Useful related commands
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.
Interpreting IKEv2 SA states
| State or result | Interpretation | SA established? | Next check |
|---|---|---|---|
| Established | IKE negotiation completed | Yes | Check the child SA and traffic |
| Negotiating | IKE exchange is in progress | No, not yet | Review logs if it persists |
| No entry | No matching IKEv2 SA is displayed | No | Check peer, interface, and configuration |
| Authentication failure | Peer authentication did not succeed | No | Verify identities and credentials |
| Proposal mismatch | Peers did not agree on cryptographic settings | No | Compare IKE proposals |
| Peer unreachable | The remote endpoint cannot be contacted | No | Check routing and network access |
| Stale entry | Displayed SA may no longer be usable | Unclear | Recheck 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.
