01-25-2019 01:03 PM
Hey, all.
So I want to use IP SLA to remove a route on my Nexus 7K. I've found lots of articles telling me how to use a secondary route if the IP SLA fails, but I can't seem to find any commands to stop advertising/remove that route entirely if the IP SLA fails.
Is there a way?
Thanks.
Solved! Go to Solution.
03-17-2021 09:56 AM
Maybe, could I just not even run the Add-Route applet at all. Think I may have just answered my own questions.
01-25-2019 11:11 PM
Hi,
There is some confusion, Which type of route? As I can see that He is provided complete EEM script which is very clear.
Regards,
Deepak Kuamr
01-28-2019 05:38 AM
My apologies for the delay in response. This is a static route that I am wanting removed.
I had the understanding that a configuration such as below would cause the 7K to stop advertising the route when the ip sla failed, is this not the case?
ip sla 1
icmp-echo 10.1.1.1 source-interface Vlan5
threshold 500
!
ip sla monitor schedule 1 life forever start-time now
!
track 100 ip sla 1 reachability
!
ip route 10.1.1.1/32 10.2.2.2 track 1
05-13-2019 01:32 AM
6.2(2) onwards support
Reliable static routing backup using object tracking | 6.2(2) | This feature was introduced. |
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