General information on “Tracking objects”:
- Object tracking can be used to monitor the status of different things (eg. if an interface is up/down, …)
- Other functions (like routing protocols or FHRP) can use this information to modify their behavior
- Example: Line-Protocol tracking is enabled for interface Eth0/0. A static route is set to be installed based on the status of interface Eth0/0. As long as the interface is up, the route will be installed. When the interface goes down, the route will be removed.
Available tracking objects:
- IPv4 protocol (SLA, route)
- IPv6 protocol (route)
Stacking of tracking objects:
- Multiple tracking objects can be stacked into a single track object
- The stacking algorithm can be based on threshold (percentage/weight) or boolean (AND, OR)
- Example: Track 1 measures the UP/DOWN state of IP SLA 1. Track 2 measures the UP/DOWN state of IP SLA 2. You want a FHRP protocol to change it’s priority based on whether either IP SLA 1 or IP SLA 2 is down. This is where a stacked tracking object comes into play. Track 3 will be configured as boolean OR and if either SLA goes down, Track 3 goes down as well.
“Tracking objects” CLI configuration commands:
## Configuring an object to be tracked Router(config)# track <id> <object> <parameters> ## Configuring object tracking stacking Router(config)# track <id> list <parameters>