Switch Memory and Configuration

Using Primary and Secondary Flash Image Options

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

2.Then erase the software image in the selected flash (in this case, primary):

The prompt shows which flash location will be erased.

Figure 6-11. Example of Erase Flash Prompt

3.Type y at the prompt to complete the flash erase.

4.Use show flash to verify erasure of the selected software flash image

The “0” here shows that primary flash has been erased.

Figure 6-12. Example of Show Flash Listing After Erasing Primary FlashRebooting the SwitchOperating Notes about Booting

Default Boot Source. The switch reboots from primary flash by default unless you specify the secondary flash by entering either the boot system flash [primary secondary] or boot set-default flash [primary secondary] command. Both the boot command and the reload command will reboot based on how these options have been selected.

Boot Attempts from an Empty Flash Location. In this case, the switch aborts the attempt and displays

6-19