Using reload

The reload command reboots the switch from the flash image that you are currently booted on (primary or secondary) or the flash image that was set either by the boot set-default command or by the last executed boot system flash <primary | secondary> command. Because reload bypasses some subsystem self-tests, the switch reboots faster than if you use either of the boot command options. If you are using redundant management and redundancy is enabled, the switch will failover to the other management module.

Syntax

reload

For example, if you change the number of VLANs the switch supports, you must reboot the switch in order to implement the change. The reload command prompts you to save or discard the configuration changes.

The following example shows how to use reload with redundant management and pending configuration changes:

switch(config)# max-vlans 12
Command will take effect after saving configuration and reboot.

switch(config)# reload
This command will cause a switchover to the other management
module which may not be running the same software image and
configurations. Do you want to continue [y/n]? y

Scheduled reload. Beginning with software release K.11.34, additional parameters have been added to the reload command to allow for a scheduled reboot of the switch via the CLI.

Syntax

reload [after <[dd:]hh:] [mm>] | [at <hh:mm[:ss]>] [<mm/dd[/[yy]yy]>]
no reload [after <[dd:]hh:] [mm>] | [at <hh:mm[:ss]>] [<mm/dd[/[yy]yy]>]

Enables a scheduled warm reboot of the switch. The switch boots up with the same startup config file and using the same flash image as before the reload.

CAUTION: When using redundant management, the reload at/after command causes a switch over at the scheduled time to the other management module, which may not be running the same software image or have the same configurations.

Parameters include:

  • after

    Schedules a warm reboot of the switch after a given amount of time has passed.
  • at

    Schedules a warm reboot of the switch at a given time.

The no form of the command removes a pending reboot request.

For more details and examples, see the following.

The scheduled reload feature removes the requirement to physically reboot the switch at inconvenient times (for example, at 1:00 in the morning). Instead, a reload at 1:00 mm/dd command can be executed (where mm/dd is the date the switch is scheduled to reboot).

NOTE: Configuration changes are not saved with reload at or reload after commands. No prompt to save configuration file changes is displayed. See Boot and reload command comparison.

Examples of scheduled reload commands:

  • To schedule a reload in 15 minutes:
    switch# reload after 15
  • To schedule a reload in 3 hours:
    switch# reload after 03:00
  • To schedule a reload for the same time the following day:
    switch# reload after 01:00:00
  • To schedule a reload for the same day at 12:05:
    switch# reload at 12:05
  • To schedule a reload for some future date:
    switch# reload at 12:05 01/01/2008

The following example shows the reload command with a redundant management system

switch(config)# reload after 04:14:00
    Reload scheduled in 4 days, 14 hours, 0 minutes
This command will cause a switchover at the scheduled
time to the other management module which may not be
running the same software image and configurations.
Do you want to continue [y/n]?

Module reload. The module reload feature allows you to reset a module by initiating a warm reboot of a specified module or modules. This saves time over rebooting the entire switch, which can take several minutes to complete and disrupts all users on the switch. The specified module has its power turned off, and then turned on again. This causes the module to reset to a known good state and reload its software.

Syntax
reload [[after <[[DD:]HH:]MM>] | [[at HH:MM[:SS] [MM/DD[/[YY]YY]]]]
| [[module <slot-id-range>]]]
no reload [[after <[[DD:]HH:]MM>] | [[at HH:MM[:SS] [MM/DD[/[YY]YY]]]]
| [[module <slot-id-range>]]]

When specified with the module parameter, initiates a reload of the module in the specified slot or slots by turning the slot power off, then on again. A valid slot or range of slots must be specified. The at and after parameters are not allowed with the module option. The no version of the command is not valid with the module option.

When the reload command is executed without any parameters, an immediate switch reload occurs.

NOTE:

This feature is not supported for HPE One modules.

module: Powers the module on or off, forcing a software reload of the specified module or modules.

The following example shows reloading a specified module:
switch(config)# reload module C
The ‘reload module’ command will shutdown the specified
modules. Ports on specified modules will no longer pass
traffic. Any management traffic to the switch which
passes through the affected modules will be interrupted
(e.g. ssh, telnet, snmp). This command may take up to 2
minutes to power down all specified modules. Please check 
the event log for current status of module power down,
power up cycle. Continue [y/n]?

Displaying reload information. Use the show reload command to display the reload information. This can include:

  • A scheduled, pending reload of the entire switch

  • A statement that no reload is scheduled

  • The time of the last reload of each module on the system

The following example shows the scheduled reload at information:
switch(config)# reload at 23:45
Reload scheduled at 23:45:47 6/16/2012
(in 0 days, 1 hours, 41 minutes

switch(config)# show reload at
Reload scheduled for 23:45:47 06/16/2012
(in 0 days, 1 hours, 40 minutes)

switch(config)# show reload after
Reload scheduled for 23:45:47 6/16/2012
(in 0 days, 1 hours, 40 minutes)
The following example shows the scheduled reload after information:
switch(config)# reload after 35
Reload scheduled in 0 days, 0 hours, 35 minutes

switch(config)# show reload at
Reload scheduled in 0 days, 0 hours, 34 minutes

switch(config)# show reload after
Reload scheduled in 0 days, 0 hours, 34 minutes
The following example shows the module reload information:
switch(config)# show reload module

Module Reload information:

Module | Last reload date
-------+---------------------
  C      10:50:51 01/13/2012