Using the CLI
This command operates at any level except the Operator level.
Syntax:
erase startup-configuration
Deletes the startup-config file in flash so that the switch will reboot with its factory-default configuration.
NOTE:
The erase startup-config
command
does not clear passwords unless include-credentials
has been set, at which time this command does erase username/password
information and any other credentials stored in the config file. For
more information, see the section on "Saving Security Credentials
in a Config File" in the access security guide for
your switch.