Automated Reboot Scheduling on Cisco Devices
Dealing with intermittent issues on your Cisco devices can be frustrating. One common problem is a faulty switch that requires manual intervention to resolve. To mitigate this, you can program an automated reboot on the affected device during off-peak hours.
Cisco offers various options for scheduling reboots automatically, allowing you to configure the timing and frequency of the reboot based on your needs.
Configuring Reboot Scheduling
There are two primary commands used for reboot scheduling: reload in
and reload at
.
Using reload in
The reload in
command schedules a reboot after a specified time. The syntax is as follows:
reload in [HH:MM]
Where [HH:MM]
represents the time in hours and minutes, e.g., 2:30
for 2 hours and 30 minutes.
For example, to schedule a reboot 2 hours and 30 minutes from the current time, use the following command:
sos-admins01# reload in 2:30
Reload scheduled for 07:22:15 UTC Thu Jan 14 2016 (in 2 hour and 30 minutes)
Proceed with reload? [confirm]
If you want to schedule a reboot at a specific time, use the reload at
command. The syntax is as follows:
reload at [HH:MM]
Where [HH:MM]
represents the time in hours and minutes.
For instance, to schedule a reboot at 7:30 am on January 14th, use the following command:
sos-admins01# reload at 7:30 14 jan
Reload scheduled for 07:30:00 UTC Thu Jan 14 2016 (in 1 hour and 22 minutes)
Proceed with reload? [confirm]
Viewing Scheduled Reboots
To check the scheduled reboots on your device, use the show reload
command:
sos-admins01# show reload
This will display a list of pending reboots.
Cancelling Scheduled Reboots
If you need to cancel a scheduled reboot, use the reload cancel
command:
sos-admins01# reload cancel
By following these steps and using the available commands, you can easily schedule automated reboots on your Cisco devices to minimize downtime and optimize network performance.