Router IP SLA Script
ip sla 1 icmp-echo [[Primary Gateway]] source-interface [[Primary Interface]] threshold 3 frequency 5 ip sla schedule 1 life forever start-time now track 101 ip sla 1 reachability ip route [[Primary Gateway]] name T1 track 101 ip route [[Secondary Interface]] 200

Primary Gateway:
Primary Interface:
Secondary Interface:

Use this code to post the full script to your own page:

Use this code to post only the variables to your own page: