What is Track and SLA
Track and SLA are two functions that work together to detect link failures and withdraw affected routes promptly.
SLA is the probing function. An SLA instance sends ICMP echo requests to a specified IP address and measures network performance, reliability, and packet loss rate. From these results it determines whether the address is reachable, which helps administrators judge the best data transmission path.
Track is the monitoring function. A track instance is bound to an SLA instance and to a static route. When the SLA probe finds the destination unreachable, the track instance notifies the static route to be deleted, so packets are no longer forwarded through it. When the probe result recovers, the static route is restored automatically.
Why Track and SLA are Needed
To improve reliability, networks commonly use redundancy, with two devices backing each other up and sharing the workload. If a link on one device fails, the other device takes over forwarding. This means a device connects to both a primary and a backup device, which raises questions about link reliability and load balancing between them.
A problem arises when some or all of the network-side links fail. The bandwidth of those links drops, but the access side may not notice the failure right away. The result is network congestion or lost traffic. By configuring track monitoring, routes can be withdrawn immediately after a link failure, so traffic is not forwarded through the failed link.
How Track and SLA Work
The administrator configures static routes that tell the switch how to forward packets to a destination network, and also configures a monitoring group for those routes. The process then works like this:
Probe: The switch actively sends ICMP echo requests to the monitored IP address.
Judge: Based on network performance and the packet loss rate, the switch decides whether the address is reachable.
Withdraw: When the address becomes unreachable, the switch automatically withdraws the static route that depends on it. Traffic then follows the remaining routes, which gives the network fault tolerance and helps keep it highly available and stable.
Restore: When the probe results return to normal, the static route is restored automatically.
SLA can also act as a link quality check for intelligent route selection. When link quality metrics are referenced in a global route selection policy or a multi-exit policy route, the switch keeps checking whether the interface links meet the quality requirements for delay, jitter, and packet loss rate. A link that does not meet them stays out of route selection until its quality meets the requirements again.
Why Track and SLA are Beneficial
Fast reaction to link failures: Routes are withdrawn as soon as probing shows a failure, so traffic does not keep flowing into a broken path and cause congestion or loss.
Detects failures the access side may miss: The switch checks reachability itself, instead of waiting for the access side to notice reduced bandwidth.
Faster convergence with redundant paths: In a network that uses ECMP with several next hops, a failed path is removed and traffic continues on the remaining ones.
Automatic recovery: When the monitored address is reachable again, the route returns without manual action.
Higher availability: Fault tolerance in the routing table helps keep the network stable.