cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5061
Views
8
Helpful
4
Replies

Easy VPN debugging ?

godzilla0
Level 1
Level 1

Hi we are experiencing problems with a customer who is connecting to our Cisco 2800 via EasyVPN. I would like to know the exactly effective right way to debug and troubleshoot and EasyVPN tunnel. Thank you.

1 Accepted Solution

Accepted Solutions

No, you cannot filter the debug.

However, if you have problems with only 1 connection, only this one should be in the debug.

The working VPNs will give little or no debug messages (only at rekey or termination).

Please rate if this helped.

Regards,

Daniel

View solution in original post

4 Replies 4

5220
Level 4
Level 4

Hi,

terminal monitor

debug crypto isakmp

debug crypto ipsec

sh crypto isakmp sa

sh crypto ipsec sa

If you are using AAA servers for authentication:

debug aaa events

debug aaa authentication

debug aaa packets

Please rate if this helped.

Regards,

Daniel

Is there a way to debug only 1 connection and not to search on all the dump produced by more than 10 tunnels ? Thanks.

No, you cannot filter the debug.

However, if you have problems with only 1 connection, only this one should be in the debug.

The working VPNs will give little or no debug messages (only at rekey or termination).

Please rate if this helped.

Regards,

Daniel

Just came across this on the googles.

 

To note, debug filtering is possible...

Given:

username EZVPNUSERSNAME password XXXXXXXXXXX encrypted privilege 0
username EZVPNUSERSNAME attributes
 vpn-group-policy APPLICABLEPOLICY

 

To enable debugging try:

debug crypto condition user EZVPNUSERSNAME
terminal monitor

conf t
no logging monitor debugging
exit
debug crypto isakmp 240
debug crypto ipsec 240
debug crypto ikev1 240
debug crypto engine 240
sh crypto debug-condition

To stop:

 

debug crypto condition reset
terminal no monitor
undebug all
sh crypto debug-condition
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: