Erasing a configuration file
To erase a configuration file:
Procedure
The following example shows how to erase the startup config file when a default custom config file exists
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]?
The following example shows how to erase the startup config file when a default custom config file does not exist
switch(config)# erase startup-config
Configuration will be deleted, and existing login passwords removed,
and device rebooted, continue [y/n]?
The following example shows how to erase the custom default config file.
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]?