Local os replacement and removal, Local os replacement and removal -15 – IronPort Systems 4108GL User Manual
Page 97
5-15
Switch Memory and Configuration
Using Primary and Secondary Flash Image Options
S
w
itc
h Me
m
o
ry
an
d
Co
nf
igur
at
io
n
Local OS Replacement and Removal
This section describes commands for erasing an OS (flash image) and copying
an existing OS between primary and secondary flash.
N o t e
It is not necessary to erase the content of a flash location before downloading
another OS file. The process automatically overwrites the previous file with
the new file. If you want to remove an unwanted 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 from 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.
C a u t i o n
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: