Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

ipsec debugging

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

ipsec debugging

L4 Transporter

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

 

 

1 accepted solution

Accepted Solutions

Community Team Member

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. 

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

View solution in original post

1 REPLY 1

Community Team Member

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. 

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.
  • 1 accepted solution
  • 3353 Views
  • 1 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!