
Configuration File Handling Task List
68
CopperLink CL2300 User Manual
9
• Configuration File Handling
configuration files in the same memory region need a unique name. For example, it is not possible to have two
configuration files with the name
running-config
in the memory region
config:
.
As you might expect, the
copy
command does not move but replicates a selected source to a target configura-
tion file in the specified memory region. Therefore the source configuration file is not lost after the copy pro-
cess. There are four predefined configuration file names for which it is optional to specify the memory region,
namely
shipping-config
,
startup-config, minimal-config
and
running-config
.
Mode:
Administrator execution
Step
Command
Purpose
1
device
#copy {shipping-config | startup-con-
fig | minimal-config | running-config | config:
source-name
}
config:
target-name
Copies the selected source configuration file
source-name
as target configuration file
target-
name
into the local memory.
Example:
Backing up the startup configuration
The following example shows how to make a backup copy of the startup configuration. It is copied under the
name backup into the flash memory region
config
:.
device#copy startup-config config:backup
Replacing the Startup Configuration with a Configuration from Flash
Memory
It is possible to replace the startup configuration by a configuration that is already present in the flash memory.
You can do so by copying it to the area of the flash memory where the startup configuration is stored.
Mode:
Administrator execution
Step
Command
Purpose
1
device
# copy config:
backup
startup-config
Replaces the existing persistent startup con-
figuration with the startup configuration
backup
already present in flash memory.
Note
The configuration
backup
can be a previously backed up configuration or
previously downloaded from a TFTP server.