cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
789
Views
0
Helpful
1
Replies

"ip sla" with icmpEcho

sudeera_mit
Level 1
Level 1

Hi Geniuses,

I have a requirement to track reachability of an interface with ip sla. i used the following configuration:

I'm going to use this to put a reliable static route.

I want to remove the route after 3 pings failed to the destination IP 10.1.1.100. What more should I configure for this ?

ip sla monitor 1

 type echo protocol ipIcmpEcho 10.1.1.100

 frequency 3
 timeout 1000

!

ip sla monitor schedule 1 life forever start-time now

!

track 1 rtr 1

ip route 0.0.0.0 0.0.0.0 10.1.1.100 track 1

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

Sudeera

The above won't quite work the way you want it to. The frequency used in your config above simply tells the router how often to run the ping so you are testing every 3 seconds. Is this what you want ?

To achieve what you want you need to use the delay down option. So to have 3 failed pings with your above test you would use -

ip sla monitor 1

type echo protocol ipIcmpEcho 10.1.1.100

frequency 3

delay down 9

timeout 1000

what the above does is test every 3 seconds. If the ping fails then wait 9 seconds before reporting it failed. Within those 9 seconds the ping will still be run every 3 seconds so in effect you need 3 pings to fail for it to report a failed link.

Jon

Review Cisco Networking for a $25 gift card