Setting the default flash, Booting from a specified flash, Setting the default flash -20 – HP 2910AL User Manual

Page 128: Booting from a specified flash -20

Advertising
background image

Switch Memory and Configuration
Using Primary and Secondary Flash Image Options

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.

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.
Note

:

This is changed from always booting from primary

flash. You are prompted with a message which will indicate
the flash being booted from.

system: Boots the switch. You can specify the flash image to
boot from.

config: You can optionally select a configuration file from
which to boot.

Booting from a Specified Flash

This version of the boot command gives you the option of specifying whether
to reboot from primary or secondary flash, and is the required command for
rebooting from secondary flash. This option also executes the complete set
of subsystem self-tests.

Syntax: boot system flash < primary | secondary >

For example, to reboot the switch from secondary flash when there are no
pending configuration changes in the running-config file:

6-20

Advertising