Basic Operation Guide 2014/02

Table 7 Comparing the boot and reload commands
NoteIncluded in ReloadIncluded in Boot?Actions
Config changes saved to the
startup-config file if "y" is
selected (reload command).
Optional with reload <cr>,
when prompt displays. Not
saved with reload at/after
Optional, with promptSave all configuration
changes since the last
boot or reload
commands; No prompt is
displayed.
The reload command provides
a faster system reboot.
NoYesPerform all system
self-tests
No—Uses the current flash
image.
YesChoice of primary or
secondary flash image
Use the reload command with
after/at parameters (see
YesNoPerform a scheduled
reboot
“Using reload” (page 69) for
details).
Setting the default flash
You can specify the default flash to boot from on the next boot by entering the boot set-default
flash command.
Syntax:
boot set-default flash [ primary | secondary ]
Upon booting, set the default flash for the next boot to primary or secondary.
Example 46 Boot set-default command with default flash set to Secondary (with a redundant
management module present)
HP Switch(config)# boot set-default flash secondary
HP Switch(config)# show flash
Image Size(Bytes) Date Version
------ ---------- ------- -------------
Primary Image : 7476770 03/15/10 K.15.01.0001
Secondary Image : 7476770 03/15/10 K.15.01.0001
Boot Rom Version: K.15.08
Default Boot : Secondary
HP Switch(config)# boot
This management module will now reboot from secondary
and will become the standby module! You will need to
use the other management module's console interface.
Do you want to continue [y/n]?
Booting from the default flash (Primary or Secondary)
The boot command boots the switch from the flash image that you are currently booted on, 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. This command also executes the complete set of subsystem
self-tests. You have the option of specifying a configuration file.
Syntax:
boot [system[flash | <primary | secondary> ]] [config FILENAME]
Reboots the switch from the flash that you are currently booted on (primary or
secondary). You can select which image to boot from during the boot process itself.
When using redundant management, the switch will failover to the standby
management module.
Using Primary and Secondary flash image options 67