Basic Operation Guide 2013/06

Table Of Contents
Example 35 Erasing the startup config file when a default custom config file exists
HP Switch(config)# erase startup-config
Configuration will be deleted, and existing login passwords
removed, and device rebooted (using the custom default
configuration), continue [y/n]?
If a custom default configuration file does not exist and the erase startup-config command is
executed, the current active configuration is erased and the switch is booted with the system default
configuration.
Example 36 Erasing the startup config file when a default custom config file does not exist
HP Switch(config)# erase startup-config
Configuration will be deleted, and existing login passwords removed,
and device rebooted, continue [y/n]?
To erase the custom default configuration file, execute the erase default-config command.
Example 37 Erasing the custom default config file
HP Switch(config)# erase default-config
The custom default configuration will be erased. The "erase
startup-config" command will now use system generated default
configuration. Continue [y/n]?
Displaying the configuration files
The show config files command displays the existing configuration files and indicates that a custom
default configuration file exists.
Example 38 Output displaying 3 configuration files
HP Switch(config)# show config files
Configuration files:
id | act pri sec | name
---+-------------+--------------------------
1 * * | config
2 | secondaryconfig
3 * | Kconfig
==================
A Custom default configuration file exists.
Enter the command show default config to display the custom default configuration.
NOTE:
For the 5400zl, 3800, and 8200zl switches, when the show default config command is executed
in enhanced secure mode the following prompt displays:
Do you want to show sensitive information (y/n)?
If "Y/y" is entered, the normal command output is displayed on the console. If "N/n" is entered,
all the sensitive information is hidden and will be displayed as asterisks ("*****"). The default
option is "N/n" when interactive mode is disabled. For more information, see the chapter "Secure
Mode (5400zl, 3800, and 8200zl)" in the Access Security Guide for your switch.
58 Switch memory and configuration