Dual Image Commands

Use these commands to manage the two software images on the switch.

The switch 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 active image to be loaded in subsequent reboots. This feature allows reduced down-time when you upgrade or downgrade the software.

delete

M4250 (without the optional unit parameter)

M4350

This command deletes the image1 or image2 file from the permanent storage.

On an M4350 series switch, the optional unit parameter is valid only for a stack member. The unit parameter identifies the member on which you must execute this command. When you do not enter this parameter, the command is executed on all members in the stack.

The optional all keyword deletes all core dump files or all root CA certificates.

Format delete [unit] {core-dump-file [all] | image1 | image2 | root-ca-certificate [all]}
Mode Privileged EXEC

boot system

M4250 (without the optional unit parameter)

M4350

This command activates the specified image. It will be the active-image for subsequent reboots and will be loaded by the boot loader. The current active-image is marked as the backup-image for subsequent reboots. If the specified image does not exist on the system, this command returns an error message.

On an M4350 series switch, the optional unit parameter identifies the stack member on which you must execute this command. When you do not enter this parameter, the command is executed on all members in the stack.

Format boot system [unit] {image1 | image2}
Mode Privileged EXEC

show bootvar

M4250 (without the optional unit parameter)

M4350

This command displays the version information and the activation status for the current images. The command also displays any text description associated with an image. This command, when used on a standalone system, displays the switch activation status.

On an M4350 series switch, the optional unit parameter identifies the stack member for which the image details are displayed. If you do not specify a unit number, the command displays image details for all members in the stack.

Format show bootvar [unit]
Mode Privileged EXEC

filedescr

M4250

M4350

This command associates a specified text description with an image and replaces any existing description. The command is executed on all units in a stack.

Format filedescr {image1 | image2} text-description
Mode Privileged EXEC

update bootcode

M4250

M4350

This command updates the bootcode (boot loader) on the switch. The bootcode is read from the active image for subsequent reboots. The unit parameter identifies the member on which this command must be executed. When this parameter is not supplied, the command is executed on all units in a stack.

Format update bootcode [unit]
Mode Privileged EXEC