by admin

Cisco 3850 Reload Slot Command

Cisco 3850 Reload Slot Command Rating: 5,0/5 7261 reviews
  1. Software Install Command Cisco 3850
  2. Cisco 3850 Reload Slot Command Block
ReloadWe are currently suffering from a couple bugs (one internal which causes the switch to reboot and one cosmetic bug that just fills up our syslog server). Consequently, we are upgrading a total of 92 Cisco 3850 switches over the course of 2 nights.

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:




/noverify Don't verify file signature before reload.
LINE Reason for reload
cancel Cancel pending reload
slot Slot number card
<cr>
Switch#reloadat ?

<1-31> Day of the month
MONTH Month of the year

LINE <cr>
Switch#reloadat 21:05 PDT Jun
LINE <cr>
Switch#reloadat 21:05 ?
LINE Reason for reload
<cr>
Switch#reloadat 21:05 ?

Software Install Command Cisco 3850

LINE Reason for reload
<cr>
Switch#reloadat 21:05 Upgrade ?

That is what I mean by ambiguous... It keeps giving me that 'LINE' command.
After some trial and error, I figured out the following command works:
Switch#reload at 21:05 6/09/15 Upgrade
Reloadscheduled for 21:05:00 PDT Tue Jun 9 2015 (in 6 hours and 36 minutes) byconsole
Reload reason:6/09/15 UpgradeReload command is being issued on Active unit, this willreload the whole stack
Switch#
Jun 921:28:27.309: %SYS-5-SCHEDULED_RELOAD: Reload requested for 21:05:00 PDT TueJun 9 2015 at 14:28:18 PDT Tue Jun 9 2015 by console. Reload Reason: 6/09/15 Upgrade.
Jun 921:28:27.309: %SYS-5-SCHEDULED_RELOAD: Reload requested for
Cisco 3850 Reload Slot Command
Cisco IOSSoftware, IOS-XE Software, Catalyst L3 Switch Software(CAT3K_CAA-UNIVERSALK9-M), Version 03.03.02SE RELEASE SOFTWARE (fc2)
TechnicalSupport: http://www.cisco.com/techsupport
Compiled Thu20-Feb-14 21:17 by prod_rel_team


Switch PortsModel SW Version SWImage Mode
* 1 32 WS-C3850-24P 03.03.02SE cat3k_caa-universalk9INSTALL
2 32 WS-C3850-24P 03.03.02SE cat3k_caa-universalk9INSTALL

---------
Switchuptime : 1 week, 5 days, 3 hours, 39 minutes
MotherboardAssembly Number :
Model RevisionNumber : K0
ModelNumber : WS-C3850-24P


Reloadscheduled for 21:05:00 PDT Tue Jun 9 2015 (in 6 hours and 36 minutes) byconsole



As you can see, this shows I am using code version 03.03.02. This is my non-production stack.

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 or
system 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

  1. Initialize flash
    Switch: flash_init
  2. Ignore the startup configuration
    Switch: SWITCH_IGNORE_STARTUP_CFG=1
  3. Boot packages.conf
    Switch: boot flash:packages.conf
  4. Terminate the initial configuration dialog by answering No.
    Would you like to enter the initial configuration dialog? [yes/no]: No
  5. At the switch prompt, enter privileged EXEC mode.
    Switch> enable
    Switch#
  6. 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.
  7. Enter global configuration mode and change the enable password.
    Switch# configure terminal
    Switch(config)#
  8. Write the running configuration to the startup configuration file.
    Switch# copy running-config startup-config
  9. Confirm that manual boot mode is enabled.
    Switch# show boot
    BOOT variable = flash:packages.conf;
    Manual Boot = yes
    Enable Break = yes
  10. Reload the switch.
    Switch# reload
  11. 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
  12. Boot the switch with the packages.conf file from flash.
    Switch: boot flash:packages.conf
  13. After the switch boots up, disable manual boot on the switch.
    Switch(config)# no boot manual