Erasing image and configuration files
To erase software images or configuration files, use the commands described below. These commands are valid from the privileged exec mode of the CLI:
- erase flash primary erases the image stored in primary flash of the system.
- erase flash secondary erases the image stored in secondary flash of the system.
- erase startup-config erases the configuration stored in the startup configuration file; however, the running configuration remains intact until system reboot.