IP SLA tracking syntax

When implementing an IP SLA, and applying the object tracking instance with the IP SLA instance, we can use the following command:

R1(config)#track 5 rtr 1

The first number (track 5) refers to the track number used to track a particular object, such as a static route. The second number (rtr 1) refers to the IP SLA instance that has been configured.

This is the syntax that is used for IOS versions before 12.2(33). The newer revised syntax is as follows:

R1(config)#track 5 ip sla 1 reachability

Where track 5 refers to the track number as before, and ip sla 1 refers to the IP SLA instance. The reachability keyword indicates that the statement tracks whether the specific object is reachable.

https://networklessons.com/cisco/ccie-enterprise-infrastructure/reliable-static-routing-with-ip-sla/

https://forum.networklessons.com/t/reliable-static-routing-with-ip-sla/1011/49?u=lagapides

https://www.cisco.com/c/en/us/support/docs/ip/ip-routing/200785-ISP-Failover-with-default-routes-using-I.html

https://www.cisco.com/c/en/us/td/docs/ios/ipsla/command/reference/sla_book/sla_05.html#wp1093733