ip sla for routing failover

Unanswered Question
Feb 21st, 2008

I am using the following config for routing failover.

track 1 rtr 1

ip sla 1

icmp-echo 64.80.115.1

ip sla schedule 1 life forever start-time now

ip route 0.0.0.0 0.0.0.0 Serial0 track 1

ip route 0.0.0.0 0.0.0.0 10.0.0.1 10

ip route 64.80.115.1 255.255.255.255 64.80.42.2

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?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
tfletcher Fri, 02/22/2008 - 10:07

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.

pnicolette Wed, 03/12/2008 - 11:52

From http://www.cisco.com/en/US/docs/ios/12_4t/ip_sla/configuration/guide/htthresh.html#wp1082328

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.

Actions

This Discussion