System information

6-31
Switch Memory and Configuration
Multiple Configuration Files
For example, suppose both primary and secondary flash memory contain
software releaseR.11.01 and use a startup-config file named config1:
Figure 6-20. Example of Using One Startup-Config File for Both Primary and
Secondary Flash
Syntax: copy config < source-filename > config < target-filename >
This command makes a local copy of an existing startup-
config file by copying the contents of an existing startup-
config file in one memory slot to a new startup-config file in
another, empty memory slot. This enables you to use a sepa-
rate configuration file to experiment with configuration
changes, while preserving the source file unchanged. It also
simplifies a transition from one software version to another
by enabling you to preserve the startup-config file for the
earlier software version while creating a separate startup-
config file for the later software version. With two such
versions in place, you can easily reboot the switch with the
correct startup-config file for either software version.
If the destination startup-config file already exists, it is
overwritten by the content of the source startup-config file.
If the destination startup-config file does not already exist,
it will be created in the first empty configuration memory
slot on the switch.
If the destination startup-config file does not already exist,
but there are no empty configuration memory slots on the
switch, then a new startup-config file is not created and
instead, the CLI displays the following error message:
Unable to copy configuration to “< target-filename >”.
ProCurve(config)# show config files
Configuration files:
id | act pri sec | name
---+-------------+---------------------
1 | * * * | config1
2 | |
3 | |