===== Cisco IOS IP SLA =====
{{tag>Cisco IOS}}
!
track 21 ip sla 21 reachability
!
track 22 ip sla 22 reachability
!
track 23 ip sla 23 reachability
!
track 24 ip sla 24 reachability
!
track 25 ip sla 25 reachability
!
track 26 ip sla 26 reachability
!
track 27 ip sla 27 reachability
!
track 28 ip sla 28 reachability
!
track 29 ip sla 29 reachability
!
track 30 ip sla 30 reachability
!
track 41 list boolean or
object 21
object 23
object 25
object 27
object 29
delay down 60 up 60
!
track 42 list boolean or
object 21
object 23
object 25
object 27
object 29
!
track 43 list boolean or
object 22
object 24
object 26
object 28
object 30
delay down 60 up 60
!
track 44 list boolean or
object 22
object 24
object 26
object 28
object 30
!
ip route 4.2.2.1 255.255.255.255 50.197.199.142
ip route 4.2.2.2 255.255.255.255 192.168.15.1
ip route 8.20.247.20 255.255.255.255 192.168.15.1
ip route 8.26.56.26 255.255.255.255 50.197.199.142
ip route 50.116.23.211 255.255.255.255 192.168.15.1
ip route 107.150.40.234 255.255.255.255 50.197.199.142
ip route 209.244.0.3 255.255.255.255 50.197.199.142
ip route 209.244.0.4 255.255.255.255 192.168.15.1
ip route 216.146.35.35 255.255.255.255 50.197.199.142
ip route 216.146.36.36 255.255.255.255 192.168.15.1
!
ip sla 21
icmp-echo 4.2.2.1
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 21 life forever start-time now
ip sla 22
icmp-echo 4.2.2.2
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 22 life forever start-time now
ip sla 23
icmp-echo 209.244.0.3
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 23 life forever start-time now
ip sla 24
icmp-echo 209.244.0.4
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 24 life forever start-time now
ip sla 25
icmp-echo 216.146.35.35
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 25 life forever start-time now
ip sla 26
icmp-echo 216.146.36.36
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 26 life forever start-time now
ip sla 27
icmp-echo 8.26.56.26
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 27 life forever start-time now
ip sla 28
icmp-echo 8.20.247.20
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 28 life forever start-time now
ip sla 29
icmp-echo 107.150.40.234
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 29 life forever start-time now
ip sla 30
icmp-echo 50.116.23.211
threshold 200
timeout 300
frequency 5
history lives-kept 1
history filter all
ip sla schedule 30 life forever start-time now
!
ASA
sla monitor 11
type echo protocol ipIcmpEcho 8.8.8.8 interface outside
num-packets 3
frequency 10
sla monitor 12
type echo protocol ipIcmpEcho 8.8.4.4 interface outside
num-packets 3
frequency 10
sla monitor schedule 11 life forever start-time now
sla monitor schedule 12 life forever start-time now
track 11 rtr 11 reachability
track 12 rtr 12 reachability
route outside 8.8.8.8 255.255.255.255 50.10.10.1 1
route outside 8.8.4.4 255.255.255.255 50.10.10.1 1
route outside 0.0.0.0 0.0.0.0 50.10.10.1 1 track 11
route outside 0.0.0.0 0.0.0.0 50.10.10.1 2 track 12
route outside 0.0.0.0 0.0.0.0 60.20.20.1 254