cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6395
Views
23
Helpful
23
Replies

Reload command

Andy White
Level 3
Level 3

Hello,

Is it possible to have a router schedule itself to reload every night or once a week?

We have some Cisco 3g wireless routers in remote locations and if we lose connectivity we have to get someone to power cycle the router to get the 3g working again.

I have added an SLA script to the router that pings Google and if it can't it will do a test on the cellular modem which will power cycle that part of the router only which may help.

With a local schedule reload on top of the SLA I'm sure it will be much more reliable.  I have a schedule tool that can do remote reloads but if the router is down then we are stuck and home the SLA works.

Thanks

23 Replies 23

Hello

cheers for the verification John

Andy FYI - I posted a weekly emm applet and just noticed you are querying a daily one = @daily

Res
Paul


Sent from Cisco Technical Support iPad App


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi,

Did I do something wronf as this example didn't reload the router at 5am, event though it said it did, the show version confirmed this withthe uptime:

event manager applet ReloadRouter

event timer cron cron-entry "0 5 * * *"

action 1.0 cli command "wr"

action 2.0 cli command "reload"

(config-applet)#do sh event mana hist event

No.  Job Id Proc Status   Time of Event                   Event Type            Name

1    1      Actv success    Sat Feb 8 05:00:00 2014  timer cron      applet: ReloadRouter

2    2      Actv success    Sat Feb 8 06:00:15 2014  track             applet: cell_reset

Any ideas?

Hello

In your EMM applet - action 2.0 cli command reload

Try this instead and maybe add a day of the week also if applicable to you.

action 2.0 reload

Event manager applet reload
event timer cron cron-entry "0 5 * *6"
action 1.1 cli command "enable"
action 1.2 cli command "wr"
action 1.3 reload

Res
Paul


Sent from Cisco Technical Support iPad App


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello,

If I add a day of the week (6) it wouldn't be a daily reboot, or would I need to add each day as a separate action?

Andy,

You would need to add 0-6 for a daily reboot. Adding only 6 will reboot it only on Saturday.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

something like this?

Event manager applet reload

event timer cron cron-entry "45 14 * * 0-6"

action 1.1 cli command "enable"

action 1.2 cli command "wr"

action 1.3 reload

seemed it aborted:

4    4      Actv abort    Mon Feb10 14:45:00 2014  timer cron         applet: ReloadRouter

Message was edited by: Andy White

Yes, if you're wanting to reload every day at 2:45PM.

Again, if you're doing this in GNS, GNS will not show you a reload. You'd be better off testing another command like shutting down a loopback interface where you'll get some feedback to the console.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

Hi,

This test seemed to work

event manager applet DailyReload

event timer cron cron-entry "0 5 * * *"

action 1.0 reload

For what ever reason this worked:

event manager applet DailyReload

event timer cron cron-entry "0 5 * * *"

action 1.0 reload

But if I use the "cli command" it is ignored.