5-15
Switch Memory and Configuration
Using Primary and Secondary Flash Image Options
Switch Memory and
Configuration
Local OS Replacement and RemovalThis section describes commands for erasing an OS (flash image) an d copying
an existing OS between primary and second ary flash.
Note It is not necessary to erase the content of a flash location before downl oading
another OS file. The process automatically overwrites the previous file with
the new file. If you want to remove an unwan ted OS version from flash, HP
recommends that you do so by overwriting it with the same OS version that
you are using to operate the switch, or with another acceptable OS version.
To copy an OS image file between the primary and secondary flash locations,
see “Copying an OS Image from One Flash Location to Another” , below.
The local commands described here are for flash image management within
the switch. To download an OS image file fro m an external source, see
Appendix A, “File Transfers”.
Copying an OS Image from One Flash Location to Another. When you
copy the flash image from primary to secondary or the reverse, the switch
overwrites the file in the destination location with a copy of the file from the
source location. This means you do not have to erase the current image at the
destination location before copying in a new image.
Caution Verify that there is an acceptable OS image in the source flash location from
which you are going to copy. Use the show flash command or, if necessary, the
procedure under “Determining Which Flash Image Versions Are Installed” on
page 5-13 to verify an acceptable OS image. Attempting to copy from a source
image location that has a corrupted flash image overwrites the image in the
destination flash location. In this case, the switch will not have a valid flash
image in either flash location, but will continue running on a temporary flash
image in RAM. Do not reboot the switch. Instead, immediately download
another valid flash image to primary or secondary flash. Otherwise, if the
switch is rebooted without an OS image in either primary or secondary flash,
the temporary flash image in RAM will be cleared and the switch will go down.
To recover, see “Restoring a Flash Image” on page 18-25 (in the Troubleshoot-
ing chapter).
Syntax: copy flash flash <destination flash>
where: destination flash = primary or secondary:
For example, to copy the image in secondary flash to primary flash: