Command Reference Guide

Dual Image Commands
CLI Command Reference
September 2014 Page 145
HP Moonshot Switch Module CLI Command Reference
Dual Image Commands
HP Moonshot Switch Module software supports a dual image feature that allows the switch to have two
software images in the permanent storage. You can specify which image is the primary image to be loaded in
subsequent reboots. This feature allows reduced down-time when you upgrade or downgrade the software.
delete
This command deletes the alternate image file from the permanent storage. The optional unit parameter is
valid only on switch stacks. If you specify the unit number on a stand alone switch, an error message is
displayed. In a stack, the
unit parameter identifies the node on which this command must be executed. When
this parameter is not supplied, the command is executed on all nodes in a stack.
boot system
This command activates the specified image. It will be the primary image for subsequent reboots and will be
loaded by the boot loader. The current primary image is marked as the alternate image for subsequent reboots.
If the specified image doesn't exist on the system, this command returns an error message. The optional
unit
parameter is valid only in stacking, where the unit parameter identifies the node on which this command must
be executed. When this parameter is not supplied on a stack, the command is executed on all nodes in a stack.
show bootvar
This command displays the version information and the activation status for the current primary and alternate
images on the supplied unit (node) of the stack. If you do not specify a unit number, the command displays
image details for all nodes on the stack. The command also displays any text description associated with an
image. This command, when used on a stand-alone system, displays the switch activation status. For a stand-
alone system, the unit parameter is not valid.
Format
delete [unit] alternate
Mode Privileged EXEC
Format
boot system [unit] {primary | alternate}
Mode Privileged EXEC
Format
show bootvar [unit]
Mode Privileged EXEC