04-17-2009 04:48 AM - edited 02-21-2020 04:12 PM
How can I detect how long the IPSEC tunnel has been up on the router? Is there any similiar command such as "show vpn-sessiondb l2l" on the router?
Thanks,
04-17-2009 07:07 AM
You can do a "show crypto ipsec sa detail" and a "show crypto isakmp sa detail" both of them will give you the remaining time of the configured lifetime. By default the router has 3600 seconds as lifetime for ipsec and 86400 seconds for IKE.
07-27-2017 03:32 AM
¿When the life time finish the tunnel is retablished causing a cut on it?
¿if the tunnel is passing traffic the tunnel stays active and working?
07-27-2017 03:36 AM
Hi,
You can use the command :
Regards,
Aditya
Please rate helpful and mark correct answers
07-27-2017 03:49 AM
Thanks Aditya.
I suppose that when I type the command sh cry sess remote <ip>, detailed "uptime" means that the tunnel is established that period of time and there were no downs.
On the other side, when the lifetime of the SA is over, ¿ the tunnel goes down?
07-27-2017 03:55 AM
Hi,
This is the only command to check the uptime.
In case you need to check the SA timers for Phase 1 and Phase 2
Regards,
Aditya
Please rate helpful and mark correct answers
07-27-2017 04:23 AM
Ok thanks ¡¡
When the lifetime of the SA is over, the tunnel goes down? or not?
07-27-2017 05:06 AM
Hi,
It depends if traffic is passing through the tunnel or not.
Regards,
Aditya
Please rate helpful and mark correct answers
07-28-2017 01:16 AM
With a ping passing about the tunnel and the timer explired, the SA are renegotiated but the tunnel stay UP and the ping not losses any packet.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide