Basic Operation Guide 2013/06

Table Of Contents
The example below illustrates using erase config <filename> to remove a startup-config
file.
Example 63 Erasing a non-active startup-config file
HP Switch(config)# show config files
Configuration files:
id | act pri sec | name
---+-------------+-----------------------------------------------
1 | * * | minconfig
2 | * | config2
3 | | config3
HP Switch(config)# erase config config3
HP Switch(config)# show config files
Configuration files:
id | act pri sec | name
---+-------------+-----------------------------------------------
1 | * * | minconfig
2 | * | config2
3 | |
With the same memory configuration as is shown in the bottom portion of the above example,
executing erase startup-config boots the switch from primary flash, resulting in a new file
named minconfig in the same memory slot. The new file contains the default configuration for the
software version currently in primary flash.
Using the Clear + Reset button combination to reset the switch to its default configuration
The Clear + Reset button combination described in the Installation and Getting Started Guide
produces these results. That is, when you press the Clear + Reset button combination, the switch:
Overwrites the content of the startup-config file currently in memory slot 1 with the default
configuration for the software version in primary flash, and renames this file to config1.
Erases any other startup-config files currently in memory.
Configures the new file in memory slot 1 as the default for both primary and secondary flash
locations (regardless of the software version currently in secondary flash).
Boots the switch from primary flash using the new startup-config file.
82 Switch memory and configuration