Use it to measure a path continuously, and to fail over a default route or a gateway when the far side stops answering.
IP SLA
IP SLA makes a router send test traffic on a schedule — ICMP echo, UDP jitter, TCP connect, HTTP — and measure success, delay and jitter. With object tracking, the result can steer routing, such as removing a static route when the probe fails.
1. show ip sla summary — is the operation running and returning OK?
2. No result → not scheduled (ip sla schedule <id> life forever start-time now).
3. Timeouts → show ip sla configuration <id>: right target and source interface? Reachable from that source?
4. show track <n> — does the track follow the probe?
5. Track down, route still in use → the route or HSRP command does not reference the track.
operation configured with target and source → scheduled → probes sent → results OK → track object up → tracked route or HSRP priority applied; on failure: track down → route withdrawn → backup used
The monitored path fails, but the tracked static route or HSRP priority does not change.
Possible stored cause: The probe is not scheduled, uses the wrong source/destination, or the track object references the wrong probe or state.Verify scheduling/source/VRF and the track/consumer that depends on this operation.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ip sla <id>Primary Commands
Configuration and operational commands for this Topic.
ip sla <id>ReferenceCreate an IP SLA operation.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedicmp-echo <destination>ReferenceConfigure an IP SLA ICMP echo operation toward a destination.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedtcp-connect <destination> <port>ReferenceConfigure an IP SLA TCP connect operation.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedudp-jitter <destination> <port>ReferenceConfigure an IP SLA UDP jitter operation (needs a responder).
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedfrequency <seconds>ReferenceSet how often an IP SLA operation runs.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedip sla schedule <id> life forever start-time nowReferenceStart an IP SLA operation now and run it indefinitely.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedtrack <id> ip sla <sla-id> reachabilityReferenceTrack IP SLA reachability as an object for HSRP, routes or EEM.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip sla statisticsShowDisplay IP SLA results.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedshow ip sla configurationShowDisplay IP SLA configuration.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedshow ip sla summaryShowDisplay a summary of IP SLA operations.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedshow trackShowDisplay tracked objects and their state.
Use when: Use this command at the IP SLA + Object Tracking boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. Separate transport reachability, probe result, track state and the feature that consumes the track object.
Cisco IOS / IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
The monitored path fails, but the tracked static route or HSRP priority does not change.
Step 1 First 30 seconds Verify boundary
Immediate answer: Identify the exact IP SLA scope before changing state. Follow scheduled operation/source → actual result → track semantics/delay → bound consumer → original service/recovery.
Verification chain: scheduled operation/source → actual result → track semantics/delay → bound consumer → original service/recovery
Boundary: A local display shows only its own state. Read the Topic’s bounded example and recovery limits before testing.
Step 2 Layered verification and original-test closure Verify boundary
IP SLA — Compare the latest return code and statistics with one independent test from the same source context, then confirm any tracking or route change that depends on the SLA result.
Step 3 IP SLA: bounded example and recovery Verify boundary
Authored isolated timing example: frequency 5 seconds, timeout 1 second, track down delay 10 seconds and up delay 15 seconds. A last success at t=0, probe started at t=5 timing out near t=6, then a down transition near t=16 is one possible sequence. It is not a universal failure-detection SLA; poll phase, operation duration, scheduling and state propagation matter.
Block only the selected lab probe path, timestamp result→track→consumer, then restore it and observe a stable success interval before Up. Independently test the original application and reverse path. Save exact schedule/track/consumer configuration and restore only the experiment. An ICMP success cannot show an HTTP transaction; no probe was executed by this edit.
Step 4 Verification and output interpretation Verify boundary
Use show ip sla configuration to verify the actual probe type, destination, source, timeout/frequency and schedule. show ip sla statistics or show ip sla summary shows recent outcomes, return codes and measured timing; interpret those values in relation to the configured operation rather than as generic network health. If object tracking is used, show track shows how the SLA result is currently translated into the tracked state. Then verify the dependent feature separately—for example, whether a tracked static route is installed or an FHRP effective priority changed. A successful SLA probe can coexist with a failed application if the probe tests a different protocol/path, and a failed probe can reflect filtering of the probe type rather than complete path failure.
Step 5 IP SLA: first failed boundary Narrow the fault
No operation results: inspect scheduling and correct operation ID. Timeout/error: inspect actual source/VRF, route, filter, responder/service and probe type. Results healthy but track wrong: verify the tracked operation and tracking semantics/delays. Track correct but route or gateway behavior wrong: inspect the real consumer binding and competing route/policy.
Probe routing can change when its tracked route is withdrawn. Preserve an independent path to the target where the design requires it; otherwise the detector can depend on the failed route it controls. Do not shrink timeouts or disable tracking simply to make a status green.
Step 6 Verification & troubleshooting Narrow the fault
1. Verify source/VRF and target route.
2. Verify operation type and schedule.
3. Read return code, latency and counters.
4. Verify track state and consumer.
5. Test failure and recovery timers.
Path: Networking → Network Assurance → IP SLA. Local intent: IP SLA: ICMP Echo, TCP Connect, UDP Jitter, Scheduling.
Step 7 Observation → implication → next check Narrow the fault
IP SLA — If the operation is down, verify schedule/state and source context first, then destination reachability and protocol-specific dependencies. If the probe is up but tracking/routing disagrees, inspect the consumer binding.
Evidence · 2 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
The official Cisco source documents this command in a bounded Cisco product/release or feature context.
command output · Documented exampleIP SLA + Object Tracking local healthy-state checkpointThe expected object, scope, state and counters match a controlled test.
Subtopics
Go one level deeper into this subject.
An IP SLA ICMP echo operation sends pings from a chosen source to a target at intervals and records reachability and round-trip time; it is the usual probe for tracked static routes.
Subtopic TCP ConnectAn IP SLA TCP connect operation measures how long it takes to open a TCP connection to a port, testing that a service is reachable, not only the host.
Subtopic UDP JitterAn IP SLA UDP jitter operation sends timed UDP packets to a responder and measures delay, jitter and loss in both directions — useful for voice quality — and needs ip sla responder on the target.
Subtopic IP SLA SchedulingIP SLA operations do nothing until they are scheduled, for example ip sla schedule <n> life forever start-time now.
Subtopic TrackingIP 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.
An operation does nothing until it is scheduled. Send it from the right source interface, or it tests the wrong path. A track object turns the result into up/down, and only the route or HSRP setting that references the track reacts. Add a delay to tracking to avoid flapping.
show ip sla summary— every operation with its latest result.show ip sla statistics <id>— last return code, round-trip time, successes and failures.show ip sla configuration <id>— type, target, source, frequency, schedule.show track <n>— the state of the track and what changed it.show ip route 0.0.0.0— whether the tracked route is installed.
ReferenceHow it works2 sections · depth on demand
Operational mechanics and ownership
IP SLA — IP SLA schedules an active synthetic operation from the network device and records reachability, timing or protocol-specific results. The measurement is scoped to the configured source and operation type. The IP SLA process owns probe scheduling and result history; object tracking or routing can consume the result later. A successful probe does not show unrelated application traffic follows the same path or policy.
IP SLA: observation versus configuration
Scope: IOS / IOS XE supported IP SLA operation consumed by a separate track object and an explicitly chosen policy. frequency <seconds> changes probe configuration; IP SLA itself generates traffic when scheduled. It is not passive observation.
Read show ip sla configuration <id>, show ip sla statistics <id>, show track <id> and the actual consumer, such as the exact tracked static route. Record source/VRF, target, operation type, timeout, frequency, schedule and return code. Ping reachability is not a TCP service or transaction-health guarantee.
A successful probe, Up track and installed consumer route are distinct states; identify which is wrong before changing timers.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
IP SLA
IP SLA runs synthetic tests from a router or switch: it sends probes on a schedule and records latency, loss and reachability. Cisco's IP SLA ICMP echo guide shows an operation with its target and source, frequency, request size, ToS, timeout and tag, scheduled with ip sla schedule <op> life forever start-time now, and verified with show ip sla configuration and show ip sla statistics.
Operation types
| Type | Measures |
|---|---|
| ICMP echo | Reachability and round-trip time |
| UDP jitter | Latency, jitter and loss in each direction (needs a responder) |
| TCP connect | Time to open a TCP connection to a service |
| HTTP, DNS, DHCP | Application response times |
| Path echo / path jitter | Per-hop results |
R1(config)# ip sla 10
R1(config-ip-sla)# icmp-echo 203.0.113.1 source-interface GigabitEthernet0/0/0
R1(config-ip-sla-echo)# frequency 10
R1(config-ip-sla-echo)# timeout 1000
R1(config)# ip sla schedule 10 life forever start-time now
R1(config)# track 10 ip sla 10 reachability
R1(config-track)# delay down 10 up 30
R1(config)# ip route 0.0.0.0 0.0.0.0 203.0.113.1 track 10
R1(config)# ip route 0.0.0.0 0.0.0.0 198.51.100.1 250
R1# show ip sla statistics 10
IPSLA operation id: 10
Latest RTT: 4 milliseconds
Latest operation return code: OK
Number of successes: 8640
Number of failures: 3
R1# show track 10
Track 10
IP SLA 10 reachability
Reachability is Up
Uses
| Use | How |
|---|---|
| WAN failover | Track an upstream address; remove the default route when it fails |
| SLA reporting | UDP jitter between sites to verify provider performance |
| Service monitoring | TCP connect or HTTP to critical servers |
| PBR verification | set ip next-hop verify-availability with a track |
Group scheduling (guide)
ip sla group schedule spreads many operations over a period; all operations in the group must exist already and share the same frequency.
Tips
Probe an address beyond the first hop (not just the ISP's interface), source probes from the interface whose path you're testing, and use track delays to avoid flapping.
Documented example, not captured output.
State model and protocol mechanics
IP SLA creates an active measurement operation identified by an ID, defines a probe type/destination and runs it according to a schedule. ICMP echo measures basic IP/ICMP responsiveness, TCP connect tests establishment to a specific transport port, and UDP-jitter style operations can provide delay/jitter/loss metrics when supported by the responder/design. Each operation maintains return codes, timing and success/failure statistics that can be consumed operationally or by object tracking. Tracking can then influence static-route installation, HSRP priority or other features without embedding the measurement logic directly in those features. The critical model is probe definition → scheduled execution → measured result → optional tracked Boolean/state → dependent feature behavior.
Limits and common misconceptions
IP SLA is synthetic evidence, not passive observation of user traffic. ICMP success does not show DNS, TLS or an application transaction works; TCP connect success does not show the service returns correct content. Measured RTT includes the path and endpoint response behavior of the selected probe, so it should not be generalized to every application flow. Tracking converts measurement into a control input, which can amplify unstable measurements into route/FHRP churn if timers are poorly chosen. A “down” track shows the configured probe logic crossed its condition, not automatically that the whole remote site is unavailable. Preserve the exact probe definition whenever using SLA results as evidence.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Choose a probe that represents the dependency you actually care about. ICMP to a remote address is simple but may not model a TCP service; TCP connect to a service port shows more specific transport behavior but still does not execute the application transaction. Set source interface/address, timeout, frequency and schedule deliberately so routing/VRF context and measurement load are predictable. When IP SLA feeds object tracking, define failure/recovery sensitivity that avoids reacting to one transient lost probe if the dependent route/gateway policy requires stability. Do not point every measurement at the same external destination without considering whether that destination itself becomes a false single point of operational interpretation.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network Assurance → IP SLA. 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%Official Cisco vendor documentation reviewed for bounded reference claims: IP SLA operation, results and tracking relationship. This is documentation-based technical verification, not lab or production-runtime proof. Deployment-specific applicability and runtime outcome remain separate evidence.
Basis: https://www.cisco.com/c/en/us/td/docs/switches/lan/c9000/lyr3-fwd/ip-slas/ip-slas-configuration-guide/ip-slas.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
IP SLA + Object Tracking evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | show ip sla statistics | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | route → probe → schedule → operation result → track state → consumer action | application success |
IP SLA · operational reference
Compact state and interpretation boundaries for fast lookup.
| IP SLA layer | Example evidence |
|---|---|
| Definition | Probe type, source, destination, timers |
| Execution | Scheduled and actively running |
| Result | Return code, RTT/jitter/loss statistics |
| Track | Boolean/threshold interpretation of result |
| Dependent feature | Route/FHRP/etc. reacts separately |