What is Tracked List Object in IP SLA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 04:23 AM - edited 03-04-2019 08:44 PM
Hi all,
Please, I need explanation about the following:
track track-number list boolean {and | or}
Cisco says the command "Configures a tracked list object and enters tracking configuration mode".
Example:
Device(config)# track 100 list boolean and
Please, tell me, is track 100 the same thing as the tracked list object? If the answer is no, then what is the identity of the tracked list object and how is it populated?
Please, also tell me how to use the tracked list object in, say, a route map. What does the AND at the end of the command work with?
Thanks a lot for your responses.
- Labels:
-
Other Routing

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 04:55 AM
I'd have to lab this up, but I believe they're two different things. The tracked list object monitors other tracked objects. If you're tracking two routes under track 10 and track 20, you'd create a tracked list object (in your example, track 100) to watch both of the other 10 and 20 objects. Your list specifies AND which means that both 10 and 20 routes need to be in the table for track 100 to be up. If you were to use OR, then one or the other tracked objects (10 or 20, but not both) need to be up in order for track 100 to be up. If both 10 and 20 are up, the track 100 goes down (to me that doesn't make any sense, but if I recall that's the way it works).
HTH,
John
*** Please rate all useful posts ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 05:10 AM
Hi,
here is a code snippet:
track 1 rtr 1
track 2 rtr 2
track 100 list boolean and
object 1
object 2
ip route 0.0.0.0 0.0.0.0 10.12.12.2 track 100
ip sla 1
icmp-echo 1.1.1.1
ip sla schedule 1 life forever start-time now
ip sla 2
icmp-echo 3.3.3.3
ip sla schedule 2 life forever start-time now
ip route 0.0.0.0 0.0.0.0 10.12.12.2 track 100
ip route 0.0.0.0 0.0.0.0 10.12.12.2
R1(config)#do sh ip route static
1.0.0.0/32 is subnetted, 1 subnets
S 1.1.1.1 [1/0] via 10.12.12.2
3.0.0.0/32 is subnetted, 1 subnets
S 3.3.3.3 [1/0] via 10.12.12.2
S* 0.0.0.0/0 [1/0] via 10.12.12.2
if I shut the interface with IP 1.1.1.1 on R2 then :
R1(config)#do sh track 100
Track 100
List boolean and
Boolean AND is Down
3 changes, last change 00:00:10
object 1 Down
object 2 Up
Tracked by:
STATIC-IP-ROUTING 0
R1(config)#do sh ip route static
1.0.0.0/32 is subnetted, 1 subnets
S 1.1.1.1 [1/0] via 10.12.12.2
3.0.0.0/32 is subnetted, 1 subnets
S 3.3.3.3 [1/0] via 10.12.12.2
S* 0.0.0.0/0 [10/0] via 10.11.11.2
Now if we had used a OR we would have needed both tracked objects in the list to go down for the track list to go down.
We could also have used a NOT to to make the track list UP if the tracked object was down( so if pings to 1.1.1.1 were successful).
Regards
Alain
Don't forget to rate helpful posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 06:37 AM
Hi alain, nice explanation. i have a query too...
is it possible to call a track list within another track list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 06:49 AM
Hi,
yes it is.
Regards
Alain
Don't forget to rate helpful posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2013 04:22 AM
Wow! I missed the responses. Thanks to everyone who replied. The email alert seems to be failing me again. And I talk about not understanding the track object!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 05:48 AM
@Alain, Thanks, was looking for something like this.
