ipsec debugging

Reply
Highlighted
L4 Transporter

ipsec debugging

Hi

 

I have a ipsec tunnel with a vendor - they use cisco on their end.

I have been advise IKE and ESP lifespan is 8 hours ... 28800 sec

 

But what I have noticed is if I set it to this around 6 hours in traffic stops passing.

I have to restart the tunnel - via the gui to bring it back.

 

I have tried setting lifespan to 6 hours on my side , but i get alerts with VPN down VPN up - critial. which is annoying

 

What I would like to know is there a way to force a rekey via the CLI - and also how to stop and start the VPN via the CLI.

 

I want to do a rekey (force) so i can check if that is working.

 

A

 

 


Accepted Solutions
Highlighted
Community Team Member

Re: ipsec debugging

Hi @Alex_Samad ,

 

I'd test with the following commands :

 

clear vpn ike-sa (remove active IKE SA and abort all ongoing key negotiation)
clear vpn ipsec-sa (deactivate IPSec SA) 
test vpn ipsec-sa tunnel <name> 

 

Here's the article that might help you:

HOW TO CHECK STATUS, CLEAR, RESTORE, AND MONITOR AN IPSEC VPN TUNNEL 

 

Hope it helps !

 

Cheers !

-Kiwi. 

View solution in original post


All Replies
Highlighted
Community Team Member

Re: ipsec debugging

Hi @Alex_Samad ,

 

I'd test with the following commands :

 

clear vpn ike-sa (remove active IKE SA and abort all ongoing key negotiation)
clear vpn ipsec-sa (deactivate IPSec SA) 
test vpn ipsec-sa tunnel <name> 

 

Here's the article that might help you:

HOW TO CHECK STATUS, CLEAR, RESTORE, AND MONITOR AN IPSEC VPN TUNNEL 

 

Hope it helps !

 

Cheers !

-Kiwi. 

View solution in original post

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!