cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2588
Views
33
Helpful
6
Replies

What is Tracked List Object in IP SLA?

jaighobahi
Level 1
Level 1

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.

6 Replies 6

John Blakley
VIP Alumni
VIP Alumni

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 ***

HTH, John *** Please rate all useful posts ***

cadet alain
VIP Alumni
VIP Alumni

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.

Don't forget to rate helpful posts.

Hi alain, nice explanation. i have a query too...

is it possible to call a track list within another track list?

Hi,

yes it is.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

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!

@Alain, Thanks, was looking for something like this.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: