cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
551
Views
0
Helpful
1
Replies

IP SLA's

CSCO12093326
Level 1
Level 1

I have looked in multiple areas online with still no firm understanding of the not command in the tracking of IP SLA's. I am working a failover solution from a Cellular interface 0/1/0 to take over if the primary gig0/1 fails. However the guy before me had these statements below and I am curious as to what the NOT means after the object 1 and 2. Obviously it negates the operation but could someone provide an example so I can better understand it. Also if you can look at the routes that are in there to tell me what you think the guy before me was thinking if possible. Thanks in advance for anything you can provide.

track 1 ip sla 1 reachability

!

track 2 interface Tunnel0 line-protocol

!

track 101 list boolean and

object 1 not

!

track 202 list boolean and

object 1 not

object 2 not

delay down 10 up 20

!

ip sla 1

icmp-echo 206.253.180.250  source-interface GigabitEthernet0/0

frequency 10

ip sla schedule 1 life forever start-time now

ip route 10.200.200.204 255.255.255.255 Cellular0/1/0 235 track 101

ip route 10.250.0.0 255.255.0.0 Tunnel0 235 track 101

ip route 172.17.17.0 255.255.255.0 Tunnel0 235 track 101

ip route 172.18.18.0 255.255.255.0 Tunnel0 235 track 101

ip route 172.31.1.0 255.255.255.0 Tunnel0 235 track 101

ip route 206.253.xxx.0 255.255.255.0 Tunnel0 235 track 101

ip route 206.253.xxx.0 255.255.255.192 Tunnel0 235 track 101

ip route 206.253.xxx.128 255.255.255.192 Tunnel0 235 track 101

ip route 206.253.xxx.0 255.255.255.0 Tunnel0 235 track 101

ip route 10.250.0.0 255.255.0.0 Cellular0/1/0 240 track 202

ip route 172.17.17.0 255.255.255.0 Cellular0/1/0 240 track 202

ip route 172.18.18.0 255.255.255.0 Cellular0/1/0 240 track 202

ip route 172.31.1.0 255.255.255.0 Cellular0/1/0 240 track 202

ip route 206.253.xxx.0 255.255.255.0 Cellular0/1/0 240 track 202

ip route 206.253.xxx.0 255.255.255.192 Cellular0/1/0 240 track 202

ip route 206.253.xxx.128 255.255.255.192 Cellular0/1/0 240 track 202

ip route 206.253.xxx.0 255.255.255.0 Cellular0/1/0 240 track 202

ip route 12.21.xxx.0 255.255.255.0 Cellular0/1/0 track 202

ip route 66.xxx.25.0 255.255.255.0 Cellular0/1/0 track 202

ip route 10.200.200.202 255.255.255.255 Cellular0/1/0

ip route 12.21.xxx.0 255.255.255.0 Cellular0/1/0

ip route 63.235.xxx.195 255.255.255.255 Cellular0/1/0

ip route 66.xxx.25.0 255.255.255.0 Cellular0/1/0

ip route 67.130.xxx.54 255.255.255.255 Cellular0/1/0

ip route 206.253.xxx.0 255.255.255.0 Cellular0/1/0 240

ip route 206.253.xxx.250 255.255.255.255 GigabitEthernet0/1 220

ip route 206.253.xxx.250 255.255.255.255 Null0 230

ip route 206.253.xxx.0 255.255.255.192 Cellular0/1/0 240

ip route 206.253.xxx.128 255.255.255.192 Cellular0/1/0 240

ip route 206.253.xxx.0 255.255.255.0 Cellular0/1/0 240

ip tacacs source-interface GigabitEthernet0/0

1 Accepted Solution

Accepted Solutions

cadet alain
VIP Alumni
VIP Alumni

Hi,

ip route 10.200.200.204 255.255.255.255 Cellular0/1/0 235 track 101

this route will be installed in RIB if the tracked object 101 is UP

You have  this:

track 101 list boolean and

object 1 not

so tracked object 101 will be UP if object 1 is not UP( so is down)

track 1 ip sla 1 reachability

ip sla 1

icmp-echo 206.253.180.250  source-interface GigabitEthernet0/0

frequency 10

ip sla schedule 1 life forever start-time now

object 1 tracks IP sla 1 and so if ping to 206.253.180.250 sourced from G0/0 is down then object 1 will be down

and so object 101 will be UP and the static route will get installed.

second track object:

track 202 list boolean and

object 1 not

object 2 not

AND means 202 will be UP if both are UP and down if one or both are down so

object 1 UP and object 2 UP will yield 202 as DOWN

object 1 DOWN and object 2 DOWN will yield 202 UP

object 1 DOWN and object 2 UP will yield 202 DOWN

object 1 UP and object 2 DOWN will yield 202 DOWN

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

1 Reply 1

cadet alain
VIP Alumni
VIP Alumni

Hi,

ip route 10.200.200.204 255.255.255.255 Cellular0/1/0 235 track 101

this route will be installed in RIB if the tracked object 101 is UP

You have  this:

track 101 list boolean and

object 1 not

so tracked object 101 will be UP if object 1 is not UP( so is down)

track 1 ip sla 1 reachability

ip sla 1

icmp-echo 206.253.180.250  source-interface GigabitEthernet0/0

frequency 10

ip sla schedule 1 life forever start-time now

object 1 tracks IP sla 1 and so if ping to 206.253.180.250 sourced from G0/0 is down then object 1 will be down

and so object 101 will be UP and the static route will get installed.

second track object:

track 202 list boolean and

object 1 not

object 2 not

AND means 202 will be UP if both are UP and down if one or both are down so

object 1 UP and object 2 UP will yield 202 as DOWN

object 1 DOWN and object 2 DOWN will yield 202 UP

object 1 DOWN and object 2 UP will yield 202 DOWN

object 1 UP and object 2 DOWN will yield 202 DOWN

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Review Cisco Networking products for a $25 gift card