How to Configure IP SLA for Network Performance Monitoring

This post provides an advanced, exam-aligned guide to configuring IP SLA on Cisco IOS for network performance monitoring. It covers ICMP echo and UDP jitter operations, threshold reactions, object tracking integration, and troubleshooting methodology relevant to ENCOR domain 4.4.

How to Configure IP SLA for Network Performance Monitoring

What Is IP SLA and Why It Matters for ENCOR

IP SLA (Service Level Agreement) is a Cisco IOS feature that generates synthetic test traffic to measure network performance metrics like round-trip time, jitter, packet loss, and reachability. Unlike passive monitoring tools that wait for real traffic, IP SLA actively injects probes on a schedule, giving you continuous, deterministic visibility into path performance. For ENCOR exam domain 4.4, you need to understand not just what IP SLA does, but how to configure operations, bind them to tracking objects, and interpret the results under exam conditions.

In production, IP SLA is commonly used to measure WAN link quality, trigger policy-based routing failover, validate SLA thresholds with service providers, and feed data into platforms like NetFlow collectors or SNMP managers. Understanding its full configuration depth is essential for both the exam and real-world deployments.

IP SLA Architecture

IP SLA uses a source-responder model. The source (the router initiating the probe) runs the IP SLA operation and collects statistics. The responder (the target device) must either be a Cisco device with IP SLA Responder enabled, or a standard UDP/TCP endpoint. For ICMP echo operations, no responder configuration is needed. For UDP jitter operations, the target device must have the responder process running and listening on the specified port.

The key components are:

  • IP SLA operation: Defines the probe type, destination, frequency, and thresholds
  • IP SLA schedule: Controls when the operation starts and for how long it runs
  • IP SLA reaction (optional): Triggers an action when a threshold is violated
  • Tracking object (optional): Links IP SLA results to routing decisions or other features

Configuring an ICMP Echo Operation

ICMP echo is the simplest IP SLA operation and requires no responder configuration. It measures round-trip time to a target IP address.

R1(config)# ip sla 10
R1(config-ip-sla)# icmp-echo 192.168.20.1 source-interface GigabitEthernet0/1
R1(config-ip-sla-echo)# frequency 15
R1(config-ip-sla-echo)# threshold 200
R1(config-ip-sla-echo)# timeout 1000
R1(config-ip-sla-echo)# tag WAN-PING-TEST
R1(config-ip-sla-echo)# exit
R1(config)# ip sla schedule 10 life forever start-time now

Key parameters to understand: frequency sets the probe interval in seconds, threshold defines the RTT in milliseconds above which the operation is flagged, and timeout sets the maximum wait time per probe in milliseconds. The tag field is useful for identifying operations in large-scale deployments.

Configuring a UDP Jitter Operation

UDP jitter is the most operationally relevant IP SLA type for voice and video monitoring. It measures one-way delay, jitter, and packet loss. The target router must have the IP SLA Responder enabled.

On the responder (target device):

R2(config)# ip sla responder
R2(config)# ip sla responder udp-echo ipaddress 192.168.20.1 port 5000

On the source router:

R1(config)# ip sla 20
R1(config-ip-sla)# udp-jitter 192.168.20.1 5000 source-ip 10.0.0.1 source-port 50000
R1(config-ip-sla-jitter)# num-packets 20
R1(config-ip-sla-jitter)# interval 20
R1(config-ip-sla-jitter)# frequency 60
R1(config-ip-sla-jitter)# codec g711alaw
R1(config-ip-sla-jitter)# exit
R1(config)# ip sla schedule 20 life forever start-time now

The num-packets parameter controls how many packets are sent per probe, and interval sets the inter-packet delay in milliseconds. Using codec g711alaw forces the operation to simulate real voice traffic characteristics, which is critical for accurate QoS testing.

Verification Commands

After scheduling operations, verify they are running and collecting data:

R1# show ip sla summary
IPSLAs Latest Operation Summary
Codes: * active, ^ inactive, ~ pending

ID           Type        Destination       Stats               Return      Last
                                           (ms)                Code        Run
-----------------------------------------------------------------------
*10          icmp-echo   192.168.20.1      RTT=12              OK          3 seconds ago
*20          jitter      192.168.20.1      RTT=14 Jitter=1/2   OK          18 seconds ago
R1# show ip sla statistics 20
IPSLAs Latest Operation Statistics

IPSLA operation id: 20
        Latest RTT: 14 milliseconds
Latest operation start time: 14:32:10 UTC Fri May 2 2025
Latest operation return code: OK
Number of successes: 47
Number of failures: 0
Operation time to live: Forever

RTT Values:
        Number Of RTT: 20       RTT Min/Avg/Max: 12/14/19 milliseconds
Latency one-way time:
        Number of one way Samples: 20
        Source to Destination one way Min/Avg/Max: 5/7/11 milliseconds
        Destination to Source one way Min/Avg/Max: 7/7/8 milliseconds
Jitter Time:
        Number of SD Jitter Samples: 19
        Number of DS Jitter Samples: 19
        Source to Destination Jitter Min/Avg/Max: 0/1/3 milliseconds
        Destination to Source Jitter Min/Avg/Max: 0/2/4 milliseconds
Packet Loss Values:
        Lost Packets: 0         Successive Lost Packets: 0

Binding IP SLA to a Tracking Object

The real operational power of IP SLA comes from integrating it with object tracking to influence routing decisions. A common use case is floating static routes that activate only when a primary path fails the SLA threshold.

R1(config)# track 1 ip sla 10 reachability
R1(config-track)# delay down 10 up 20
R1(config-track)# exit

R1(config)# ip route 0.0.0.0 0.0.0.0 192.168.10.1 track 1
R1(config)# ip route 0.0.0.0 0.0.0.0 192.168.30.1 250

The delay down 10 up 20 prevents flapping by requiring the condition to be stable for 10 seconds before marking the object down, and 20 seconds before marking it up. Without this, a momentary packet loss event could trigger unnecessary route changes.

You can also track state instead of reachability. Tracking reachability monitors whether the operation succeeds or fails. Tracking state monitors whether the RTT or jitter stays within configured thresholds.

Configuring Threshold Reactions

IP SLA reactions let you trigger logging or SNMP traps when thresholds are violated, without involving object tracking:

R1(config)# ip sla reaction-configuration 20 react jitterSD threshold-type immediate threshold-value 5 5
R1(config)# ip sla reaction-configuration 20 react packetLossSD threshold-type immediate threshold-value 5 0
R1(config)# ip sla logging traps

The react jitterSD triggers when source-to-destination jitter exceeds 5ms. The threshold values are upper and lower bounds. Configuring ip sla logging traps sends an IOS syslog message when a reaction fires, which integrates cleanly with a SIEM or syslog aggregator.

Troubleshooting IP SLA

If operations are returning non-OK codes, work through this diagnostic sequence:

  • Return code "No Connection": The responder is not configured on the target, or the port is blocked by an ACL
  • Return code "Timeout": ICMP or UDP is blocked in the path, or the timeout value is too low relative to path latency
  • Return code "Busy": The operation frequency is too high for the router's processing capacity; increase the frequency interval
  • Operation not collecting data: Verify the schedule is active with show ip sla schedule
R1# show ip sla schedule 10
IPSLAs Infrastructure Engine-III
Entry number: 10
    Modification time: 14:10:05.432 UTC
    Number of Ivl scheduled: 1
    Scheduled start-time: Start Time already passed
    Group Scheduled : FALSE
    Randomly Scheduled : FALSE
    Life (seconds): Forever
    Entry Ageout (seconds): never
    Recurring (Starting Everyday): FALSE
    Status of entry (SNMP RowStatus): Active

What's Next

With IP SLA covered, the logical next step is understanding how tracking objects integrate with more advanced features like Enhanced Object Tracking (EOT) and its role in HSRP and EIGRP failover scenarios. These build directly on the tracking object concepts introduced here and are covered in the ENCOR exam blueprint across the High Availability and Infrastructure domains.

For deeper coverage of IP SLA, object tracking, and the full ENCOR domain map, the Cisco Press CCNP and CCIE Enterprise Core ENCOR 350-401 Official Cert Guide by Brad Edgeworth provides authoritative exam-aligned detail that complements hands-on lab practice.

๐Ÿ”ง
If you're running IP SLA in production and want to visualise those RTT, jitter, and packet loss metrics over time, PRTG Network Monitor can poll your Cisco devices via SNMP and surface IP SLA results in dashboards and alerts without any custom scripting. PRTG Network Monitor, SolarWinds Network Performance Monitor and Paessler PRTG.

Tools and resources for this topic