WLC: Schedule Reboot of the WLC from the CLI
Did you know you can schedule a reboot of the WLC in the CLI? This comes in handy if you don’t have a WCS. Lets cover the different automatic reboots . Also this is only in newer code releases. This is not an option in 4.2 releases.
(Cisco_4402_WLC) >reset system ?
at Reset the system at a specified time.
in Reset the system after a specified delay.
cancel Cancel a scheduled reset.
notify-time Configures trap generation prior to scheduled resets.
Reset System In ->
The (rest system in) command allows you to enter a specific time to have the controller reboot. Also you can call out what image (primary / backup) to load.
(Cisco_4402_WLC) >reset system in 00:01:30 image no-swap reset-aps save-config
System reset is scheduled for Oct 16 22:58:56 2010.
Current local time and date is Oct 16 22:57:26 2010.
Trap will not be generated as total delay is less than the trap time.
Use 'reset system cancel' to cancel the reset.
Configuration will be saved before the system reset.
(Cisco_4402_WLC) >
Rest System At ->
The (rest system at) command allows you to enter a specific date and time to have the controller reboot. Like reset system in, you can call out the image as well.
(Cisco_4402_WLC) >reset system at 2010-10-16 23:05:00 image no-swap reset-aps save-config
System reset is scheduled for Oct 16 23:05:00 2010.
Current local time and date is Oct 16 23:02:06 2010.
Trap will not be generated as total delay is less than the trap time.
Use 'reset system cancel' to cancel the reset.
Configuration will be saved before the system reset.
(Cisco_4402_WLC) >
Reset System Cancel ->
Of course, if you scheduled a system reset and you need to cancel it. You would need to apply the reset system cancel command
(Cisco_4402_WLC) >reset system ?
at Reset the system at a specified time.
in Reset the system after a specified delay.
cancel Cancel a scheduled reset.
notify-time Configures trap generation prior to scheduled resets.
Show Reset ->
To double check your schedule reset you can do the “show rest” command. It outlines the data and events.
(Cisco_4402_WLC) >show reset
System reset is scheduled for Oct 18 10:00:00 2010.
Current local time and date is Oct 16 23:28:15 2010.
All APs will also be reset.
A trap will be generated 10 minutes before each scheduled system reset.
Configuration will be saved before the system reset.
Reader Comments (6)
George,
Another great tip! Thanks for sharing :)
Nigel.
What versions of code do you reckon this works with. I've looked at version 5.0.56.0 and it's certainly not an option.
Regards
Roger
this command is there in 6.0-196
It's not available in 5.1.151.0 either.
this is useful. I have used this before especially handy when we do a pre-download of images to AP's during upgrade.
I am happy to find this post very useful for me, as it contains lot of information. I always prefer to read the quality content and this thing I found in you post. Thanks for sharing