
6-37
Switch Memory and Configuration
Multiple Configuration Files
Figure 6-24 illustrates using
erase config <
filename
>
to remove a startup-config
file.
Figure 6-24. Example of Erasing a Non-Active Startup-Config File
With the same memory configuration as is shown in the bottom portion of
figure 6-24, 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 pri-
mary 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.
3500-5400-6200-8200-MCG-Jan08-K_13_01.book Page 37 Monday, January 28, 2008 10:04 AM