Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Tracking · IP SLA

Direct answer

IP SLA tracking links a probe to a track object (track <n> ip sla <op> reachability) so static routes, HSRP priority or routing decisions can change when the probe fails.

When to use this

Use it when a static route, HSRP priority or policy should react to an IP SLA result.

First 30 seconds

1. Tracking ties IP SLA results to actions (static routes, FHRP priority).

2. track <n> ip sla <id> reachability.

3. Delays avoid flapping.

4. Test failure.

5. Combine with floating routes.

Operational verification

IP SLA fails → track down → route/priority change

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · IOS/IOS XE
Key commandip route 0.0.0.0 0.0.0.0 203.0.113.1 track 1
Scope / prerequisiteUse it when a static route, HSRP priority or policy should react to an IP SLA result.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • Match the probe to the service: ICMP reachability is not TCP or jitter proof
  • Schedule the operation; configuration alone does not run it
  • Tracking consumes the latest operation state and can use delay to dampen transitions
  • A successful probe proves only its source, target, VRF and operation type.
Key checks
  • show track — state
  • show track <n> — object, changes
ReferenceWhat it is1 section · depth on demand

How it works

A track object follows the result of an IP SLA operation (reachability or RTT threshold). Static routes, HSRP/VRRP and PBR can depend on the track, so when the probe fails the dependent route or priority changes automatically.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Worked failover (Cisco's documented pattern)

ip sla 1
 icmp-echo 10.0.12.2 source-ip 10.0.12.1
ip sla schedule 1 life forever start-time now
track 8 ip sla 1 reachability
 delay down 10 up 30
!
ip route 0.0.0.0 0.0.0.0 10.0.12.2 track 8     ! ISP 1, AD 1
ip route 0.0.0.0 0.0.0.0 10.0.13.2 10          ! ISP 2, floating

While track 8 is up the AD 1 default via ISP 1 is installed. When the probe fails, the tracked route is withdrawn and the floating route with AD 10 takes over.

R1# show track 8
Track 8
  IP SLA 1 reachability
  Reachability is Up
    3 changes, last change 00:12:41
  Delay up 30 secs, down 10 secs
  Latest operation return code: OK
  Tracked by:
    Static IP Routing 0

reachability vs state

KeywordUp when
reachabilityReturn code OK or Over threshold
stateReturn code OK only — RTT above threshold counts as down

Other consumers of the same object

ConsumerExample
HSRPstandby 1 track 8 decrement 20 (with preempt on the peer)
Boolean combinationtrack 10 list boolean and + object 8 + object 9
EEMevent track 8 state down to clear NAT translations or send a log

Design rules

  • Probe something beyond the directly connected ISP interface when the failure you care about is upstream; then pin that target with a host route via ISP 1.
  • delay up should be longer than delay down so a flapping link is not trusted too early.
  • Remember NAT: existing translations keep pointing at ISP 1 after failover unless cleared.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Configuration

track 1 ip sla 10 reachability
 delay down 10 up 30
ip route 0.0.0.0 0.0.0.0 203.0.113.1 track 1
ip route 0.0.0.0 0.0.0.0 198.51.100.1 250
show track 1

Documented example, not captured output. When the probe fails, the tracked static route is removed and the floating route (AD 250) takes over.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Network Assurance → IP SLA → Tracking. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Confirmation

Confirm action

Continue?