Switch Memory and Configuration
Multiple Configuration Files
Figure 6-17. Example of Using One Startup-Config File for Both Primary and
Secondary Flash
If you wanted to experiment with configuration changes to the software
version in secondary flash, you could create and assign a separate startup-
config file for this purpose.
The first two commands copy the config1
startup-config file to config2, and then
make config2 the default startup-config
file for booting from secondary flash.
Figure 6-18. Example of Creating and Assigning a New Startup-Config File
Note You can also generate a new startup-config file by booting the switch from a
flash memory location from which you have erased the currently assigned
startup-config file. Refer to “Erasing a Startup-Config File” in the next section.
Erasing a Startup-Config File
You can erase any of the startup-config files in the switch’s memory slots. In
some cases, erasing a file causes the switch to generate a new, default-
configuration file for the affected memory slot.
6-32