Cisco 3850 Reload Slot Command
You can use the reload at command to schedule a reboot of the whole stack but there is no way that I'm aware of to reload an individual stack member at a specific time, without resorting to third-party tools to issue the reload slot command at a specific time. Edit 1: To set your stack member priorities, you can use the command switch priority. Not everyone knows that the reload command permits to schedule a reboot system; for instance, to plan a night router restart or during a critical configuration (AAA, vty, and so on). There are two ways to schedule a reload system: at: at a specific time/date in: after a time interval The ‘at’ keyword permits to.
I decided to set up constant pings to our devices and use the 'reload at' command to reload all of the switch stacks on all 6 floors of one building at the same time.
We are currently on code version 03.03.05 and are upgrading to 03.07.00 at the advice of Cisco TAC.
I couldn't find much good documentation on the 'reload at' command so I used my test switch stack to figure it out (using the question mark on the CLI is kind of ambiguous).
Below shows what I typed into the CLI:
Software Install Command Cisco 3850
You can also issue the following command to reload on a specific day:
Switch#reload at 20:00 07 Dec Upgrade
or a specific time:
Switch#reload in 120 (reloads the switch in 2 hours)
Update - 6/10/2015
Reload/Upgrade successful!
Here is what the switch does when you are logged in to it.
Reload scheduled for 21:05:00 PDT Tue Jun 9 2015 (in 1 minute and 20 seconds) by xxxxxxxxx on vty0 (x.x.x.x)
Reload reason: 6/09/15 Upgrade
Swtich#sh clo
21:03:56.858 PDT Tue Jun 9 2015
Switch#
***
*** --- SHUTDOWN in 0:01:00 ---
***
Switch#
***
*** --- SHUTDOWN NOW ---
***
Update - 4/29/2016
We are no longer on IOS 03.07.00 and have actually downgraded to 03.06.04 which is the recommended release. We were having some 'bug'gy behavior.
NOTE: Mr. Bray recommends disabling the ability to recover the password/config with one of these commands (varies):no service password-recovery
orsystem disable password recovery switch all
Apply power to the switch. Immediately press the Mode button while the System LED is flashing. Hold the Mode button until all the system LEDs turn on and remain solid; then release it.
Cisco 3850 Reload Slot Command Block
- Initialize flash
Switch: flash_init
- Ignore the startup configuration
Switch: SWITCH_IGNORE_STARTUP_CFG=1
- Boot packages.conf
Switch: boot flash:packages.conf
- Terminate the initial configuration dialog by answering No.
Would you like to enter the initial configuration dialog? [yes/no]: No
- At the switch prompt, enter privileged EXEC mode.
Switch> enable
Switch# - Copy the startup configuration to running configuration.
Switch# copy startup-config running-config
Destination filename [running-config]?
Press Return in response to the confirmation prompts. The configuration file is now reloaded, and you can change the password. - Enter global configuration mode and change the enable password.
Switch# configure terminal
Switch(config)# - Write the running configuration to the startup configuration file.
Switch# copy running-config startup-config
- Confirm that manual boot mode is enabled.
Switch# show boot
BOOT variable = flash:packages.conf;
Manual Boot = yes
Enable Break = yes - Reload the switch.
Switch# reload
- Return the Bootloader parameters (previously changed in Steps 2 and 3) to their original values.
Switch: SWITCH_DISABLE_PASSWORD_RECOVERY=1
Switch: switch: SWITCH_IGNORE_STARTUP_CFG=0 - Boot the switch with the packages.conf file from flash.
Switch: boot flash:packages.conf
- After the switch boots up, disable manual boot on the switch.
Switch(config)# no boot manual