HP (Hewlett-Packard) 2510G Switch User Manual


 
6-17
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):
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
Figure 6-12. Example of Show Flash Listing After Erasing Primary Flash
Rebooting the Switch
The switch offers reboot options through the boot and reload commands, plus
the options inherent in a dual-flash image system. Generally, using boot
provides more comprehensive self-testing; using reload gives you a faster
reboot time.
The prompt shows which flash
location will be erased.
ProCurve# show flash
Compressed Primary Code size = 0
Compressed Secondary Code size = 2555802
Boot Rom Version: N.10.XA
Current Boot : Secondary
The "0" here
shows that
primary flash has
been erased.