Solved

how to schedule restart Cisco Router at everyday midnight?

Posted on 2014-07-21
3
777 Views
Last Modified: 2014-07-31
how to schedule restart Cisco Router at everyday midnight?
0
Comment
Question by:nainasipra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
Matt earned 500 total points
ID: 40208379
Try this:

event manager applet router-reload
 event timer cron name reload-timer cron-entry "0 2 * * 1,4"
 action 1.0 syslog msg "Initiating periodic reload"
 action 2.0 reload

In this example router reloads every 1st and 4th day in week, at 02:00. Cron is composed out of five parameters, separated by space:

min hour date month day-of-week

More help here: http://ciscoaspirants.com/2011/10/15/embedded-event-manager/
0
 
LVL 13

Expert Comment

by:duncanb7
ID: 40208437
You can use Cisco IOS Kron  and Kiwo-cattols  for free trial version for testing example
that describled at this link
http://write.keinism.com/2008/04/07/cisco-scheduled-task-options-kron-and-kiwi-cattools/
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cns/configuration/xe-3s/asr1000/cns-xe-3s-asr1000-book/cns-cmd-sched.html

Hope unserstand your question completely.If not , please pt it out

Duncan
0
 
LVL 6

Expert Comment

by:Joshua1909
ID: 40213401
Hi,
Matt's commands are correct, you will also need to configure EEM to run with credentials on the router.

(config)# event manager session cli username "LocalRouterUsernameHere"
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question