cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8002
Views
25
Helpful
18
Replies

IP SLA to remove route?

jokerfmj1
Level 1
Level 1

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.

18 Replies 18

Maybe, could I just not even run the Add-Route applet at all.  Think I may have just answered my own questions. 

Deepak Kumar
VIP Alumni
VIP Alumni

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 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

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

hafeesyam
Level 1
Level 1

6.2(2) onwards support 

 

 

Reliable static routing backup using object tracking

6.2(2)

This feature was introduced.

Review Cisco Networking for a $25 gift card