Specifying a Router Reload Time:
You want to set the router to automatically reload at a specified time.
You can set the router to reload after waiting a particular length of time with the reload in command:
The reload at command lets you specify a particular time and date when you want the router to reload:
If you set the router to reload at a specific time and date, then we highly recommend using an accurate time source to ensure that the router reloads when you think it will. For more information on time and time sources
Usually, when you reload a router, you want it to do so immediately. However, it can also be quite useful to specify a particular time to reload. For instance, reloading is the only way to fix badly fragmented memory on a router. But you almost certainly don’t want to reload during production hours. This feature thus allows you to instruct the router to reload at a safe low-traffic time, such as the middle of the night.
Another excellent reason for using this delayed reload feature is to avoid locking yourself out of a router while making possibly dangerous configuration changes. There are many types of configurations changes, such as changes to access lists or routing configuration in particular, that can isolate a router and prevent you from getting back in to fix the problem. But before you make the changes, you can instruct the router to reload itself in, say, 15 minutes. If you lock yourself out of the router, you won’t be able to save the running configuration to NVRAM. So when the router reloads, it will come up with the previous configuration. The bad configuration change will be miraculously undone.
And if it turns out that the new configuration is good, you can simply save it to NVRAM and cancel the reload. We show how to cancel a scheduled reload in a moment.
The reload in command also allows you to specify a reason for the reload:
The command interprets any text that you enter after the reload time as the reason for reloading. Starting in IOS Version 12.2, the router records a log message whenever you issue the reload command. Included in this message are the time that the reload was requested, the reload time, the username of the person who requested it, and the reload reason:
You can also include a reason with the reload at command:
The show reload command displays information on any impending reloads:
You can cancel a scheduled reload with the reload cancel command:
When you cancel a reload like this, the router will send a system broadcast message notifying any active users that the reload has been canceled. Starting with IOS Version 12.2, the router also creates a logging message indicating that someone has canceled a scheduled reload:
If you have scheduled a reload, the router will periodically send broadcast notices to all active users as a reminder. By default, the router will send these messages 1 hour before reload, 30 minutes before, 5 minutes before, and 1 minute before reload. You can cancel the reload at any time, up until the router actually shuts itself down: