Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

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.

New Member

SLA reachability help

Hello,

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

frequency 5

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

Thanks

12 REPLIES
Cisco Employee

SLA reachability help

Add this to your track sub-config:

delay down 60

New Member

SLA reachability help

Thanks,

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?

Cisco Employee

SLA reachability help

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.

New Member

SLA reachability help

Hi,

Can I ask where I put that command as I tried under ip sla 1 and it wouldn't allow it?

Thanks

New Member

SLA reachability help

I guess I could also use frequency 60?

Cisco Employee

SLA reachability help

You may not be able to modify a running collector.  You may have to stop it, then modify it.

New Member

SLA reachability help

Do I have to delete it to do that?  I'm not sure how to stop a running script.

Cisco Employee

SLA reachability help

You can delete and recreate it, or you can just delete the schedule for this collector.

New Member

SLA reachability help

Deleted the schedule but:

(config)#ip sla 1

(config-ip-sla-echo)#delay ?

% Unrecognized command

Cisco Employee

SLA reachability help

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.

New Member

SLA reachability help

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?

Cisco Employee

SLA reachability help

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.

435
Views
0
Helpful
12
Replies
CreatePlease to create content