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

Site-to-Site VPN Goes down frequently

Hello Team,

   Site-to-Site VPN is configured between 2 Cisco IOS routers which Goes down frequently. And we've to clear the crypto session to re-establish the session.

   Have pasted the config from my end and we don't have access to remote end. Please suggest 

crypto isakmp policy 1
encr 3des
authentication pre-share
group 2
lifetime 14400
crypto isakmp key XXXXXX address XXXX.XXXX.XXXX.XXXX
!
!
crypto ipsec transform-set AIR esp-3des esp-sha-hmac
mode tunnel
!
!
!
crypto map Primary  ipsec-isakmp
set peer XXXX.XXXX.XXXX.XXXX
set security-association lifetime kilobytes 100000
set security-association lifetime seconds 18000
set transform-set AIR
set pfs group2
match address Primary_Crypto
!

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

I had an issue like this between 2 800 series before , I don't see an issue with your config

There is a command too which may help if its an isakmp issue

isakmp invalid-spi-recovery

fixed it by running an ip sla across the vpn between the 2 routers to keep interesting traffic on it and stop it falling off , we thought it may have been a bug but we were unable to upgrade the routers as they were critical , once the ip sla kicked in it never dropped again by itself

View solution in original post

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

I had an issue like this between 2 800 series before , I don't see an issue with your config

There is a command too which may help if its an isakmp issue

isakmp invalid-spi-recovery

fixed it by running an ip sla across the vpn between the 2 routers to keep interesting traffic on it and stop it falling off , we thought it may have been a bug but we were unable to upgrade the routers as they were critical , once the ip sla kicked in it never dropped again by itself

Hi Mark,

  Thanks for your reply. Please suggest the below command should be enabled in both sides or if only implemented in my side that would be fine..

isakmp invalid-spi-recovery

HI Srinivasan

I would put it on both sides , it will only come into effect if the spi gets corrupted and it will recover itself

If neither of those work for you the next step would be to debug the crypto and capture the issue as its happening and see whats breaking it on either side