config ter

ip sla 10

 icmp-echo 10.101.172.254 source-ip 10.101.172.250

 timeout 2000

 threshold 10

 frequency 30

ip sla schedule 10 life forever start-time now


track 10 rtr 10 reachability


ip route 10.101.0.0 255.255.0.0 10.101.172.254 track 10

ip route 10.102.0.0 255.255.0.0 10.101.172.254 track 10

exit

wr