cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18649
Views
0
Helpful
3
Replies

Debug commands for IPsec VPN

abob21
Level 1
Level 1

Hi All,

I would like to monitor Ipsec VPN tunnel logs because having intermittent connection loss to remote host.

May I know below debug commands are safe to run on prod router, any performance impacted? or If you have any better solution please suggest.

  • debug crypto ipsec
  • debug crypto isakmp
  • debug crypt engine

Thanks in advance!

Bob

2 Accepted Solutions

Accepted Solutions

Aditya Ganjoo
Cisco Employee
Cisco Employee

Hi Bob,

If there are multiple tunnels then i would not recommend to use these debugs as it would spike the CPU usage on the device.

You can turn on conditional debugging using the command:

debug cry condition peer <>

Regards,

Aditya

View solution in original post

Hi Bob,

Thanks a lot.

Please mark it as a solution if it has answered your query.

Regards,

Aditya

View solution in original post

3 Replies 3

Aditya Ganjoo
Cisco Employee
Cisco Employee

Hi Bob,

If there are multiple tunnels then i would not recommend to use these debugs as it would spike the CPU usage on the device.

You can turn on conditional debugging using the command:

debug cry condition peer <>

Regards,

Aditya

Hi Aditya,

Thank for your reply. Currently just one tunnel using but soon to have multiple tunnels.

I will try conditional debug command. 

Regards,

Bob

Hi Bob,

Thanks a lot.

Please mark it as a solution if it has answered your query.

Regards,

Aditya

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: