Lesson Overview
Modern enterprise networks depend on reliable connectivity between branch offices, data centers, cloud applications, and internet services. A network interface may remain operational even when the remote destination becomes unreachable due to an upstream ISP failure, routing issue, or network congestion.
Traditional interface monitoring cannot always detect these problems.
Cisco IP SLA (IP Service Level Agreements) addresses this limitation by actively generating test traffic to measure network availability and performance.
When combined with Cisco Object Tracking and floating static routes, IP SLA can help routers detect connectivity failures and automatically switch traffic to a backup WAN connection.
This lesson covers IP SLA fundamentals, operation types, ICMP Echo configuration, object tracking, WAN failover, verification commands, troubleshooting procedures, and practical enterprise scenarios.
Learning Objectives
By the end of this lesson, you will be able to:
Explain the purpose and operation of Cisco IP SLA.
Understand the difference between interface status and end-to-end reachability.
Identify common IP SLA operation types.
Configure ICMP Echo operations on Cisco routers.
Configure IP SLA scheduling, frequency, and timeout.
Integrate IP SLA with Object Tracking.
Implement automatic WAN failover using floating static routes.
Verify IP SLA operation and tracking states.
Troubleshoot common IP SLA and failover issues.
Apply IP SLA in real-world enterprise networks.
1. Introduction to Cisco IP SLA
Cisco IP SLA is an active network monitoring feature available on supported Cisco IOS and IOS XE devices. It allows network administrators to measure network reachability and performance by generating test traffic toward a configured destination.
Unlike passive monitoring tools that rely on existing network traffic, IP SLA actively sends probes at defined intervals. These probes help determine whether a destination is reachable and, for supported operation types, measure characteristics such as response time, jitter, and packet loss.
1.1 Why IP SLA is useful
Proactive monitoring: detect a problem before users notice it.
Reachability monitoring: confirm that a remote router, server, Internet address or service can actually be reached.
Performance measurement: measure round-trip delay and, with other operation types, jitter, packet loss or service response.
Automatic reaction: combine the result with Object Tracking so routes, FHRP priorities, EEM policies or other features can react.
Troubleshooting evidence: use counters and timestamps to distinguish a local interface problem from an upstream reachability problem.
Consider an enterprise router connected to two internet service providers.
ISP1 is the primary internet connection.
ISP2 is the backup internet connection.
The router uses a default static route through ISP1.
If the ISP1 physical connection fails, the router can detect the interface-down condition.
However, suppose the ISP1 connection remains physically up while an upstream network failure prevents access to the internet.
The router may continue forwarding traffic toward ISP1 because the directly connected next hop is still reachable.
This creates a situation where the WAN interface is up, but internet connectivity is unavailable.
IP SLA helps detect this condition by testing reachability to a remote destination.
1.2 How Cisco IP SLA Works
Cisco IP SLA uses an active probing mechanism to continuously monitor network performance and availability. The router periodically sends test packets to a configured destination and analyzes the response to determine the health of the path.
Step 1: Generate a Probe
The router initiates an IP SLA operation by sending a probe packet, such as an ICMP Echo (ping) request, to a configured destination.
Step 2: Measure the Response
When the destination responds, the router measures key performance metrics, including:
- Reachability (whether a reply is received)
- Round-trip time (RTT)
- Packet loss (depending on the operation type)
Step 3: Record the Results
IP SLA stores the operation results and statistics, including:
- Successful responses
- Timeouts or failures
- Response times and performance measurements
These statistics can be viewed for monitoring and troubleshooting purposes.
Step 4: Update the Tracking State
If Object Tracking is configured to monitor the IP SLA operation, the tracking state is updated based on the probe results and any configured delay timers.
- Successful probes keep the tracking object Up
- Failed probes may cause the tracking object to transition Down
Step 5: Trigger a Routing Change
A static route associated with the tracking object can be automatically removed from the routing table when the tracking state goes down. This allows a backup route with a higher administrative distance to become active, providing automatic failover.
1.3 Active Monitoring vs Passive Monitoring
Network monitoring can be classified into two approaches: Passive Monitoring and Active Monitoring.
Passive Monitoring
Passive monitoring listens to and analyzes network activity that is already occurring. It does not generate any additional traffic.
Examples:
- Interface statistics
- Syslog messages
- SNMP monitoring
Advantages:
- Minimal impact on network resources
- Useful for observing real user traffic and network events
Active Monitoring (IP SLA)
Active monitoring proactively tests the network by generating scheduled probe traffic. This allows the network to verify connectivity and performance even when no user traffic is present.
Examples:
- ICMP Echo (Ping) every 5 seconds
- UDP jitter tests
- HTTP or TCP connection tests
Advantages:
- Detects outages before users notice them
- Continuously verifies service availability
- Measures performance metrics such as latency and response…
