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

Possible to schedule a weekly reboot of a Cisco 800 router?

Hello,

I need to somehow schedule a Cisco 800 router we have at a remote site to reload/reboot every Saturday night, is this possible?

Thanks

7 REPLIES

Re: Possible to schedule a weekly reboot of a Cisco 800 router?

use the reload command (must have clock set or use ntp):

http://www.cisco.com/en/US/docs/ios/12_1/configfun/command/reference/frd2005.html#wp1018142

example would be:

Router#reload ?

/noverify Don't verify file signature before

/verify Verify file signature before reload

LINE Reason for reload

at Reload at a specific time/date

cancel Cancel pending reload

in Reload after a time interval

warm Reload should be warm

Router#reload at ?

hh:mm Time to reload (hh:mm)

Router#reload at 20:00 ?

<1-31> Day of the month

LINE Reason for reload

MONTH Month of the year

Router#reload at 20:00 14 ?

MONTH Month of the year

Router#reload at 20:00 14 november ?

LINE Reason for reload

manually add the other dates (saturday nights) for your downtime schedules.

Hall of Fame Super Gold

Re: Possible to schedule a weekly reboot of a Cisco 800 router?

This is the 3rd time I've seen this. Someone has written an EEM (did I get that correct?) script to do regular reload of an appliance. Try posting this again at the Network Management section.

Cisco Employee

Re: Possible to schedule a weekly reboot of a Cisco 800 router?

Something as simple as this should work:

event manager applet reload-Staurday

event timer cron cron-entry "0 0 * * 6" name reload_timer

action 1.0 syslog msg "Initiating periodic reload"

action 2.0 reload

This will reload the device every Saturday at midnight (the minute after Friday 23:59).

Hall of Fame Super Gold

Re: Possible to schedule a weekly reboot of a Cisco 800 router?

Hi Joe,

I knew this would be in your alley!

Hall of Fame Super Gold

Re: Possible to schedule a weekly reboot of a Cisco 800 router?

By the way, instead of event timer cron cron-entry "0 0 * * 6" name reload_timer can you use event timer cron cron-entry @weekly name reload_timer instead?

Cisco Employee

Re: Possible to schedule a weekly reboot of a Cisco 800 router?

No, that will not reload the device on Saturday. That is equivalent to "0 0 * * 0".

Hall of Fame Super Gold

Re: Possible to schedule a weekly reboot of a Cisco 800 router?

Ok. Thanks.

8049
Views
5
Helpful
7
Replies
CreatePlease to create content