Switch Memory and Configuration

Using Primary and Secondary Flash Image Options

Syntax: copy flash flash <destination flash>

where: destination flash = primary or secondary:

For example, to copy the image in secondary flash to primary flash:

1.Verify that there is a valid flash image in the secondary flash location. The following figure indicates that a software image is present in secondary flash. (If you are unsure whether the image is secondary flash is valid, try booting from it before you proceed, by using boot system flash secondary.)

ProCurve(config)#

show flash

 

 

 

 

 

 

Date Version

Build #

The unequal code

 

Image

Size(Bytes)

size, differing dates,

 

-----

----------

-------- -------

-------

 

 

and differing

 

Primary Image

:

7856393

07/29/08 W.14.XX

1033

 

 

version numbers

 

 

 

Secondary Image :

9012168

09/16/08 W.14.XX

972

 

 

indicates two

 

 

 

 

Boot Rom Version:

W.14.01

 

 

 

 

different versions of

 

Default Boot

:

Secondary

 

 

 

 

the software.

 

 

 

 

 

 

 

 

 

 

Figure 610. Example Indicating Two Different Software Versions in Primary and Secondary Flash

Execute the copy command as follows:

ProCurve(config)# copy flash flash primary

Erasing the Contents of Primary or Secondary Flash. This command deletes the software image file from the specified flash location.

Caution:Before using this command in one flash image location (primary or second­ ary), ensure that you have a valid software file in the other flash image location

No Undo! (secondary or primary). If the switch has only one flash image loaded (in either primary or secondary flash) and you erase that image, then the switch does not have a software image stored in flash. In this case, if you do not reboot or power cycle the switch, you can recover by using xmodem or tftp to download another software image.

Syntax: erase flash < primary secondary >

For example, to erase the software image in primary flash, do the following:

1.First verify that a usable flash image exists in secondary flash. The most reliable way to ensure this is to reboot the switch from the flash image you want to retain. For example, if you are planning to erase the primary image, then first reboot from the secondary image to verify that the secondary image is present and acceptable for your system:

ProCurve# boot system flash secondary

6-17