ip sla for routing failover

Unanswered Question
Feb 21st, 2008
User Badges:

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?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
tfletcher Fri, 02/22/2008 - 10:07
User Badges:

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
User Badges:

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.


This Discussion