Switch Memory and Configuration

Using Primary and Secondary Flash Image Options

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 a software image in either primary or secondary flash, the temporary flash image in RAM will be cleared and the switch will go down. To recover, refer to “Restoring a Flash Image” on page C-77(in the “Troubleshooting” Appendix).

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

Image

Size(Bytes) Date Version

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

Primary Image : 7184180 07/26/09 Z.14.03

Secondary Image : 7173079

07/27/09 Z.14.04

Boot Rom Version: Z.14.03

 

Default Boot

: Primary

 

The unequal code size, differing dates, and differing

version numbers indicates two different versions of the software.

Figure 6-10. 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.

6-18