Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.
During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.
We apologize for the inconvenience while we perform important updates to the Community.
I have implement a reachability sla on a 3G router, but think it is too harsh, so I understand is my SLA pinging 10.100.1.66 every 5 seconds and if it can't it will power test the 3G module? If so, how can I get it to ping 10.100.1.66 and shoul it be unreachable for more than a minute then run the actions?
track 234 ip sla 1 reachability
ip sla 1
icmp-echo 10.100.1.66 source-interface Vlan10
ip sla schedule 1 life forever start-time now
event manager applet cell_reset
event track 234 state down
action 1.0 cli command "enable"
action 2.0 cli command "config t"
action 3.0 cli command "service internal"
action 4.0 cli command "end"
action 5.0 cli command "test cellular 0 modem-power-cycle"
action 6.0 cli command "config t"
action 7.0 cli command "no service internal"
action 8.0 cli command "end"event manager applet test
What is the frequency for? Is this the pinging 10.100.1.66 every 5 seconds?
And this 'delay down 60' will delay doing anything with the down state for 60 seconds and in that time should it come back up do nothing?
Yes, frequency states the ping will occur every five seconds (probably a bit agressive as the default is every 60 seconds).
Yes, delay down will prevent the tracked object from going down, and thus the EEM applet from executing, for 60 seconds. If the IPSLA operation succeeds before the timer expires, the tracked object will not go down.
Oh, I thought you were talking about the frequency command. THAT belongs under the IPSLA collector. The delay down command belongs under track submode. When you type the track command, you will enter a submode where you can specify up and down delays.
Sorry my fault not explaining things properly.
I guess a frequency of 60 may have a similar result as the delay command? I may try that first as it will icmp the remote address every 60 seconds and if it fails it will kick of te track.
Can I get it to ping 5 times before running the track?
No. changing frequency to 60 will not have the same effect. You really want to delay down in this case. If you want it to ping five times, set your frequency to 12 and delay down of 60.