02-10-2013 12:34 PM - edited 03-07-2019 11:38 AM
Hi out there
I need to shut an incoming interface on an ASR if a "inside" trunk shuts - how can I do this? Is there a possibility trough ios.sh or how can I do this? We have a huge bunch of vpn routers I have to failover to another router if a link below this edge router fails and the simplest way I can see is to disable this incoming interface then which will cause them to failover to the backup - but how can I do this?
Any ideas are welcome...
best regards /ti
02-10-2013 12:40 PM
Hi,
Not entirely sure what you are trying to do, but may be route tacking can help you.
See this link with config examples:
HTH
02-10-2013 01:25 PM
Hi Reza - It is not exact my problem which is addresses here even the object tracking sounds like. I need to force incoming vpn's to another peer because the edge router is alive but the next device in the chain is gone. Hereby will they be able to connect to my edge and hereby get stucked. I need to redirect them before they connect and the easiest way would be to shut the interface - is this possibly ?
best regards /ti
02-10-2013 01:53 PM
Hi Ti,
Can you provide diagram of your topology?
As long as the redundant routes are advertised and the config is correct, if you shut the primary interface, it should fail over to the redundant device. It there a way for you to test this in the lab before doing it in production?
HTH
02-10-2013 10:24 PM
Hi Reza - here is a simplified diagram which I think shows my problem very well - if the switch below my edge routers fails the sessions for ipsec vpn will keep connect to the edge router but no connection deeper into the system. These a plain old cryptomap ipsec with an alternate peer. If I had a L2 between the the 2 edge routers I could solve this by HSRP begween the two L3 switches but this would I prefer to avoid.
Is there a way to automatically shut the wan interface on these edge routers if the innerside trunk fails -> eg - if G0/0/1 fails shut G0/0/0 ?
I can see that thorugh cisco's ios.sh there are some possibilities to query a interface but can I also control it? Or other ideas?
best regards /ti
02-12-2013 03:51 AM
no suggestions?
best regards /ti
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: