Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

ip sla for routing failover

I am using the following config for routing failover.

track 1 rtr 1

ip sla 1


ip sla schedule 1 life forever start-time now

ip route Serial0 track 1

ip route 10

ip route

It's working fine, but it fails over after missing a single ping. Is there a way to delay the failover until it's missed 2 or 3 pings?

Hall of Fame Super Bronze

Re: ip sla for routing failover

You need to play around with the timeout and frequency values.

Please check out the documentation for more details:




New Member

Re: ip sla for routing failover

The timeout affects how long it waits for the ping response. The frequency affects how often it sends pings. You cannot set the timeout longer than the frequency, so no matter how you set these values, it still changes state on the 1st ping failure.

Re: ip sla for routing failover

Hi Tim,

I believe that the only IP SLA that considers packet loss is the ICMP Path Jitter, i haven't used it before, but it is a nice idea to try it:


Mohammed Mahmoud.

New Member

Re: ip sla for routing failover


Generating Events for Consecutive Violations

To generate a trap (or trigger another operation) after a certain number (x) of consecutive violations, use the consecutive keyword with the optional number-of-occurrences argument:

ip sla reaction-configuration operation-number react reaction-condition threshold-type consecutive [number-of-occurrences] threshold-value rising-value falling-value action-type action-value

The default value for number-of-occurrences is 5.