Use the following CLI commands to troubleshoot phase 1 and phase 2 site-to-site VPN issues:
Show Commands
If you want to . . . |
Use . . . |
|
> show running tunnel flow info |
|
> show vpn ike-sa gateway <gateway> | match <x.x.x.x/Y> |
|
> show vpn ike-sa tunnel <tunnel> |
|
> show vpn flow |
|
> show vpn gateway |
|
> show vpn ike-sa |
|
> show vpn ipsec-sa |
|
> show vpn tunnel |
Clear Commands
If you want to . . . |
Use . . . |
|
> clear vpn ike-sa gateway <gateway> |
|
> clear vpn ike-sa tunnel <tunnel> |
|
> clear vpn ipsec-sa tunnel <tunnel> |
Test Commands
If you want to . . . |
Use . . . |
|
> test vpn ike-sa gateway <gateway> |
|
> test vpn ipsec-sa tunnel <tunnel> |
Debug Commands
If you want to . . . |
Use . . . |
|
> debug ike global on debug less mp-log ikemgr.log debug ike stat |
|
> debug ike pcap on view-pcap no-dns-lookup yes no-port-lookup yes debug-pcap ikemgr.pcap |
|
> debug ike pcap off |