09-13-2017 12:46 PM - edited 03-01-2019 01:39 PM
On a Nexus 7K, I want to configure IP SLA ICMP Echo to track an IP across a fiber link and remove a route if the receive side doesn't respond to ping after x amount of time. Is 'timeout' the appropriate parameter to use to accomplish my goal? Let's say I want to send one ping every second and remove the route if a response is not received after 15 seconds, is this the correct way to do so?
ip sla 1
icmp-echo 1.1.1.2
frequency 1
timeout 15000
!
ip sla schedule 1 life forever start-time now
!
09-13-2017 05:24 PM
Hi
Timeout is the attribute your talking about.
However, frequency has to be higher than timeout. This is best practices.
In your example you're sending an icmp packet every seconds but have a timeout of 15s. Why do you want to wait 15s for a icmp reply?
09-14-2017 05:26 AM - edited 09-14-2017 05:27 AM
Thanks for the reply, Francesco.
The idea is to consistently send a ping to the remote device and remove the route if the device becomes unresponsive. I can't ping the device more than once per second as it has an ICMP rate limiter enabled and won't respond more than once per second. Also, I want to be absolutely sure that the remote device is down, not just experiencing some packet loss, before we remove the route - hence, waiting 15 seconds. If I'm going about this the wrong way, can you please provide an example of how to do it?
09-14-2017 02:27 PM
09-27-2017 04:49 AM
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