Site To Site VPN Troubleshooting Sop
Site To Site VPN Troubleshooting Sop
Resolution
Overview
This document can be used to verify the status of an IPSEC tunnel, validate tunnel monitoring, clear the tunnel, and
restore the tunnel.
Details
The VPN tunnel is negotiated only when there is interesting traffic destined to the tunnel.(On-demand)
In case you want to manually initiate the tunnel, without the actual traffic you could use the below commands.
Note: Manual initiation is possible only from the CLI.
GUI:
Navigate to Network->IPSec Tunnels
GREEN indicates up
RED indicates down
You can click on the IKE info to get the details of the Phase1 SA.
ike phase1 sa up:
CLI:
ike phase1 sa up:
OR
If phase-1 SA is down you would not see the peer IP and the Established status.
For ikev2, the IKE Info details appear the same, when you click on IKE Info
GUI:
ikev2 CLI:
IKEv2 SAs
GUI:
Navigate to Network->IPSec Tunnels
GREEN indicates up
You can click on the Tunnel info to get the details of the Phase2 SA.
CLI:
Note: For tunnel monitoring, a monitor status of down is an indicator that the destination IP being monitored is not
reachable, off indicates that tunnel monitor is not configured.
tunnel ipsec-tunnel:lab-proxyid1
id: 139
type: IPSec
gateway id: 38
state: active
session: 568665
monitor: off
protocol: ESP
proxy-id:
protocol: 0
local port: 0
remote port: 0
copy tos: no
authentication errors: 0
decryption errors: 0
replay packets: 0
packets received
owner state: 0
owner cpuid: s1dp0
ownership: 1
Run the above command show vpn flow tunnel-id <id>, multiple times to check the trend in counter values.
Constant increments in authentication errors, decryption errors, replay packets indicate an issue with the tunnel
traffic.
When there is normal traffic flow across the tunnel, the encap/decap packets/bytes increment.
5. Clear The following commands will tear down the VPN tunnel: