IP SLA — Cisco's Active Network Measurement + Track Object Integration
How Cisco IP SLA sends synthetic probes (ICMP, TCP, UDP, HTTP, jitter) to measure availability, latency, and jitter — and how track objects plug those measurements into HSRP, static routes, and PBR for smart failover.
- IP SLA sends synthetic probes from a Cisco device. It measures reachability, latency, jitter, and packet loss actively — not by watching real traffic.
- Combine with **track objects** (`track N ip sla M reachability`) and the router can react to measurement changes: HSRP standby takes over when the ISP link stops meeting SLA, floating static promotes to primary when the WAN goes bad, PBR reroutes voice off a degraded path.
- Two roles: **IP SLA source** (initiates probes) and **IP SLA responder** (accepts probes back with timestamps for accurate one-way jitter/latency measurement).
The one-sentence mental model
IP SLA is a synthetic probe engine built into IOS. Instead of waiting for user traffic to fail (or a routing-protocol hello to time out), the router itself sends test packets — ICMP echo, TCP connect, UDP jitter, HTTP GET, DNS query — and measures the result. Feed that into track objects and the router reacts to measurement, not just interface state.
What IP SLA can probe
| Operation | What it tests |
|---|---|
icmp-echo | Basic reachability + round-trip latency. Cheap and universal. |
tcp-connect | Does port X on host Y accept a TCP connection? |
udp-jitter | Round-trip and one-way jitter for VoIP — requires responder on the other end. |
udp-echo | UDP round-trip. Simpler than jitter. |
path-jitter | Per-hop jitter along the path (like traceroute + jitter measurement combined). |
http | HTTP GET — validates web server reachability + response time. |
dns | DNS query round-trip. |
ftp | FTP file transfer time. |
Basic ICMP probe
ip sla 10
icmp-echo 8.8.8.8 source-interface GigabitEthernet0/1
frequency 10
timeout 500
threshold 200
ip sla schedule 10 life forever start-time now
- Send an ICMP echo to 8.8.8.8 every 10 seconds
- Timeout after 500 ms
- Consider it “over threshold” (unhealthy) at 200 ms
- Run forever, start now
Verify:
show ip sla statistics 10
show ip sla summary
UDP jitter with a responder
Real jitter measurement needs both endpoints. The far-end must be a Cisco device running the IP SLA Responder:
! On the responder (far end):
ip sla responder
! On the source (near end):
ip sla 20
udp-jitter 198.51.100.10 5000 num-packets 20 interval 10
frequency 30
request-data-size 200
ip sla schedule 20 life forever start-time now
Now you get one-way latency + jitter + loss (both directions) with timestamps that account for the responder-side processing delay.
Track objects — where the value comes in
Raw IP SLA data is useful but the real power is coupling it to track objects that other features consume.
Track SLA reachability
track 100 ip sla 10 reachability
delay down 5 up 20
Track 100 is “up” while IP SLA 10 is meeting its threshold, “down” when it isn’t. Delay smooths flapping.
HSRP with tracking — WAN-aware failover
interface Vlan10
ip address 10.10.10.2 255.255.255.0
standby 1 ip 10.10.10.1
standby 1 priority 110
standby 1 preempt
standby 1 track 100 decrement 20
If track 100 goes down (WAN link failing SLA), the priority drops from 110 to 90 — the standby (which has priority 100) becomes active. Gateway follows the healthy WAN.
Floating static + track — dual-WAN failover
ip route 0.0.0.0 0.0.0.0 203.0.113.1 track 100 ! primary, active while WAN is healthy
ip route 0.0.0.0 0.0.0.0 198.51.100.1 200 ! floating static, AD 200
When track 100 (IP SLA 10 to the primary ISP) goes down, the primary default is removed and the AD-200 floating static becomes active.
PBR with tracking — reroute voice
route-map VOICE-BEST-PATH permit 10
match ip address VOICE-ACL
set ip next-hop verify-availability 10.1.1.1 10 track 100
set ip next-hop 10.2.2.1
If track 100 (measuring the good WAN) is down, PBR falls back to the second next-hop.
Reasonable thresholds
- VoIP one-way latency: < 150 ms end-to-end, ideally < 100 ms on the WAN
- Jitter: < 30 ms for good voice quality
- Packet loss: < 1%
- Transactional apps: RTT < 200 ms typically fine
Match threshold on IP SLA to your app’s real requirements — too tight = false positives; too loose = late reaction.
Common exam / real-world mistakes
- Probing 8.8.8.8 and being surprised when Google has a bad minute. Probe an FQDN you control, or use a responder at your hub.
- Setting probe frequency too aggressive. 1-second probes × 50 IP SLA operations = 50 pps of extra load, and CPU cost on lower-end platforms.
- Track object without delay. A flapping SLA → flapping track → HSRP flap. Use
delay down N up M(typical: down 5, up 20-30) to smooth. - Skipping the responder for jitter. UDP jitter without a responder still runs but the timestamps aren’t reliable → jitter number is garbage.
- Track SLA reachability vs threshold.
reachability= up while probes succeed.thresholdtriggers on the threshold statement in the SLA config (usually average RTT). They’re not interchangeable. - Not verifying with
show ip sla statistics. If probes aren’t reporting, your track object is stuck. Check first.
Cheat strip
Operations icmp-echo | tcp-connect | udp-jitter | udp-echo | http | dns | ftp
Roles source (initiates) + responder (accepts, timestamps for jitter)
Config shape ip sla N → operation → frequency + timeout + threshold
ip sla schedule N life forever start-time now
Track track N ip sla M reachability | state
delay down T up T (smooth flapping)
Consumers HSRP standby X track N decrement Y
ip route ... track N (floating static failover)
PBR: set ip next-hop verify-availability ... track N
Verify show ip sla statistics N
show track brief
show ip sla summary
Practice — quick check
A scenario each round. Take your time — there's a Next button whether you're right or wrong.
IPv6 First-Hop Security — RA Guard, DHCPv6 Guard, ND Inspection, IPv6 Source Guard
The four Layer-2 security features every enterprise needs when it enables IPv6: RA Guard blocks rogue Router Advertisements, DHCPv6 Guard blocks rogue DHCPv6 servers, ND Inspection validates Neighbor Discovery, IPv6 Source Guard binds addresses to ports.
IP Multicast Basics — Groups, IGMP, PIM Sparse Mode, RP
The multicast fundamentals CCNP ENCOR expects — multicast group addresses, IGMP for host-router join, PIM Sparse Mode for router-router distribution, Rendezvous Point (RP) design, and IGMP snooping on switches.
Want this drilled into reflex?
1:1 weekly sessions, live feedback on your labs, and US interview prep — built around the CCNP® exam blueprint. Free first session. No card on file until you decide.
Related topics
BFD — Bidirectional Forwarding Detection for Sub-Second Failure Detection
How BFD detects link and neighbor failures in under a second, why routing protocols alone can't, and how to enable BFD for OSPF, BGP, EIGRP, and HSRP on Cisco IOS.
IP ConnectivityFHRP — HSRP, VRRP & GLBP
First-hop redundancy protocols. How two routers share one virtual IP so hosts don't notice when their default gateway fails. Covers HSRP states, election, preemption, and the GLBP load-balancing twist.
Automation & ProgrammabilitySD-WAN Concepts
Software-Defined WAN explained — separating control plane from data plane, overlay tunnels across any underlay (MPLS, internet, LTE), centralized policy via vManage/vSmart, and why the WAN is finally getting the SDN treatment.
Get the free CCNA 12-week roadmap
You're already reading up on IP SLA — Cisco's Active Network Measurement + Track Object Integration. The roadmap is the order I recommend studying every CCNA topic in — with what to lab each week and where IP SLA — Cisco's Active Network Measurement + Track Object Integration fits. A written personal reply, not an autoresponder. Expect it within one business day.
Personal reply from a senior network engineer. No third-party tracking. Unsubscribe any time.
