VPN

Get VPN IPsec Tunnel Summary: Commands, Output, and Troubleshooting

韩知予··10 min
Get VPN IPsec Tunnel Summary: Commands, Output, and Troubleshooting

Learn how to get a VPN IPsec tunnel summary, interpret its status, and troubleshoot common site-to-site VPN issues.

To get a VPN IPsec tunnel summary, run the status or summary command provided by your VPN device, then check whether the IKE and IPsec security associations are established and whether traffic counters are increasing. There is no single command that works on every platform: Cisco, FortiGate, Juniper, Palo Alto, and Linux strongSwan use different syntax and present different details.

This guide explains common commands, how to read the results, and what to check when a tunnel appears down or inactive.

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.

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 →

Compare common IPsec tunnel summary commands by platform

PlatformSummary commandWhat it showsPeer or tunnel filterTypical use
Cisco IOS`show crypto session`Session state and peer detailsPeer addressQuick session check
Cisco IOS`show crypto ipsec sa`IPsec SA and traffic countersPeer or local addressVerify IPsec SAs
Cisco ASA`show vpn-sessiondb l2l`Site-to-site session statusPeer addressCheck active L2L sessions
Cisco ASA`show crypto ipsec sa`IPsec SA and packet countersPeer or local addressReview tunnel traffic
FortiGate`get vpn ipsec tunnel summary`Tunnel state and packet countsTunnel nameCheck tunnel summary
FortiGate`diagnose vpn tunnel list`Detailed tunnel and SA informationTunnel nameInvestigate tunnel issues
Juniper Junos`show security ike security-associations`IKE SA statePeer addressCheck IKE negotiation
Juniper Junos`show security ipsec security-associations`IPsec SA state and detailsPeer addressCheck IPsec negotiation

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

What an IPsec tunnel summary tells you

An IPsec tunnel summary is a quick view of the state of one or more VPN connections. Depending on the product, it may show the peer address, tunnel name, IKE version, connection state, encryption details, and packet or byte counters.

The summary is useful for an initial health check, but it is not always a complete diagnosis. Some devices display IKE and IPsec status separately. IKE establishes the secure control connection between peers, while IPsec security associations protect the actual data traffic. A healthy tunnel generally needs the relevant associations to be active and traffic to match the configured policies.

Look for these fields:

  • Peer or gateway: The remote VPN endpoint.
  • IKE state: Whether the peers have negotiated the IKE security association.
  • IPsec state: Whether the data-protection security associations are installed.
  • Uptime or age: How long the current association has been active.
  • Packet and byte counters: Traffic sent and received through the tunnel.
  • Error or replay counters: Clues about failed negotiation or rejected packets.

Field names and status labels vary. “Established,” “up,” and “active” usually indicate a negotiated association, but check your product documentation before treating any one label as proof that the VPN is passing traffic. VPN That Lets You Choose Location Free: What to Know

Get VPN IPsec Tunnel Summary: Commands, Output, and Troubleshooting: Checklist

Common commands by platform

Use the command that matches your device and software version. Run commands in the appropriate administrative shell or CLI, and follow your organization’s access and change-control procedures.

Platform Common summary or status command What it helps verify
Cisco IOS or IOS XE show crypto session Session state and peer details
Cisco ASA show crypto ikev2 sa and show crypto ipsec sa IKE and IPsec association status
FortiGate get vpn ipsec tunnel summary Tunnel state and traffic information
Juniper SRX show security ipsec security-associations IPsec association state and peer
Palo Alto Networks PAN-OS show vpn ike-sa and show vpn ipsec-sa IKE and IPsec security associations
Linux strongSwan swanctl --list-sas or ipsec statusall Active connections and child security associations

On FortiGate, the command most directly matching the search phrase is:

get vpn ipsec tunnel summary

Its output typically lists configured tunnels and indicates whether each is up or down. Exact columns and behavior can differ by FortiOS release and configuration. If the summary does not provide enough detail, use more specific diagnostic commands available for that release. Urban VPN Edge Extension: How It Works, Features, and What to Know

On other platforms, you may need to run separate commands for IKE and IPsec rather than relying on one summary view. Consult the vendor’s command reference if a command is unavailable or the output differs from what you expect.

Interpret tunnel summary results

Result or signalWhat it indicatesWhat to check nextLikely area
Tunnel is upReported session or SA is establishedConfirm traffic counters changeConnectivity
Tunnel is downSession or SA is not establishedCheck peer reachability and negotiationIKE or peer
IKE is established, IPsec is downIKE phase completed but IPsec SA is absentCompare phase-two settingsIPsec proposals
No matching sessionCommand found no matching entryConfirm peer or tunnel filterCommand or target
Inbound counters increaseTraffic is arriving through the tunnelCheck outbound counters and routingReturn path
Outbound counters increaseTraffic is sent into the tunnelVerify peer response and selectorsRemote side
Counters remain unchangedNo matching traffic is observedGenerate matching traffic; check selectorsTraffic or policy
One-way counter movementTraffic flows in one direction onlyCheck routes, policies, and remote return pathAsymmetric path

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

How to interpret the results

Start by confirming that the output shows the intended tunnel and the expected remote peer. A tunnel can be active to one gateway while another connection is down, so match the name or peer address before drawing conclusions. V2Ray iPhone: How to Choose and Set Up a Client

Then check each stage:

  1. IKE is established. The peers have completed the IKE negotiation and authenticated each other.
  2. IPsec associations are installed. The data-plane security associations are present for the expected traffic selectors.
  3. Counters are moving. Sent and received packet or byte counts increase when traffic is generated.
  4. The expected traffic is covered. The local and remote subnets, interfaces, and policies match the traffic you are testing.

A tunnel may show as up even when no user traffic is currently crossing it. Some systems bring up tunnels on demand, so an idle connection can appear down until matching traffic triggers negotiation. Conversely, an active association does not prove that applications can communicate: routing, firewall rules, NAT, or remote-host settings may still block packets.

Compare inbound and outbound counters. If one side’s outbound counter rises but the other side’s inbound counter does not, investigate the path between peers, the remote configuration, and any filtering in between. If neither counter changes, confirm that your test traffic uses the VPN’s protected networks and is not taking another route.

Troubleshooting a down or inactive tunnel

A down status is a starting point for investigation, not a diagnosis. Check recent logs or negotiation details for a specific failure, such as authentication errors, proposal mismatches, unreachable peers, or selector mismatches. EY VPN Connect: How to Get Connected and Troubleshoot Access

Check reachability and configuration

Confirm that the local device can reach the peer’s public address and that required IKE and IPsec traffic is allowed by upstream firewalls and network devices. Commonly used transport includes UDP 500 for IKE and UDP 4500 for NAT traversal; IP protocol 50 may be used for ESP when NAT traversal is not in use. Confirm the requirements for your setup rather than opening traffic broadly.

Compare both peers’ settings, including:

  • IKE version and authentication method
  • Pre-shared key or certificate details
  • Encryption, integrity, and Diffie–Hellman proposals
  • IPsec proposals and lifetime settings
  • Local and remote traffic selectors or protected subnets
  • NAT traversal and identity configuration

Small differences can prevent negotiation. Avoid sharing keys, full configuration files, or sensitive diagnostic output in public support channels.

Check routes, policies, and counters

If the tunnel is established but traffic fails, verify that the local device routes the test destination through the VPN and that security policies allow the traffic. Check whether NAT is unintentionally changing the source address before the packet matches the IPsec policy. Confirm that the remote side has a return route and permits the same traffic. Urban VPN Chrome Extension: Features, Setup, and What to Know

Use packet captures or vendor diagnostic tools only as needed, and capture the relevant interfaces and addresses. A controlled test between known endpoints is usually more useful than generating unrelated traffic.

Get VPN IPsec Tunnel Summary: Commands, Output, and Troubleshooting: Key points

Choose a summary or diagnostic command

NeedSummary commandDetailed diagnosticWhat to compareRecommendation
Check whether a tunnel is upSession or tunnel summaryIKE and IPsec SA detailsState at both layersStart with summary
Identify the peerSession summarySA details for the peerPeer address or nameFilter by peer
Verify traffic flowIPsec summary with countersPer-SA packet detailsInbound and outbound countsGenerate matching traffic
Find a negotiation failureSummary stateIKE logs and negotiation detailsPhase and failure reasonUse diagnostics
Investigate missing IPsec SAsSession stateIPsec SA outputSelectors and proposalsInspect detailed SAs
Check a suspected routing issueSummary countersRoute and policy checksCounter movement and pathTrace traffic both ways
Confirm a brief outageCurrent summaryLogs and historical monitoringCurrent state versus prior eventsUse logs for history
Make a routine health checkCompact summary outputFull diagnostics if anomalousState and countersKeep routine checks concise

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

Summary commands versus detailed diagnostics

A summary command is best for quickly checking many tunnels. Detailed status commands are better when you need to inspect negotiation parameters, selectors, counters, or error messages. Free Trial VPN: How to Choose and Test One Safely

Use the summary first to identify the affected peer. Then query that specific tunnel for IKE and IPsec details, review logs around the time of failure, and test traffic in both directions. This approach keeps troubleshooting focused and reduces the risk of disrupting unrelated VPN connections.

Do not clear or restart a tunnel as a first step in a production environment. Doing so can interrupt traffic and erase useful state. If a reset is necessary, follow your change process and capture relevant status and logs beforehand.

Recommendation

Run the platform-specific VPN summary command, confirm both IKE and IPsec status, and check whether traffic counters increase during a controlled test. If the tunnel is down, compare peer reachability and negotiation settings. If it is up but traffic fails, investigate selectors, routes, NAT, and firewall policies before restarting the connection.