C613-50170-01 Rev B
Command Reference for x510 Series
123
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
F
ILE
AND
C
ONFIGURATION
M
ANAGEMENT
C
OMMANDS
COPY
STARTUP
-
CONFIG
copy startup-config
Overview
This command copies the startup-config script into a destination file, or
alternatively copies a configuration script from a source file into the startup-config
file. Specify whether the destination is Flash or USB when loading from the local
filesystem.
Syntax
copy <
source-name
> startup-config
copy startup-config <
destination-name
>
Mode
Privileged Exec
Examples
To copy the file
Layer3.cfg
to the
startup-config
, use the command:
awplus#
copy Layer3.cfg startup-config
To copy the
startup-config
as the file
oldconfig.cfg
in the current
directory, use the command:
awplus#
copy startup-config oldconfig.cfg
Related
Commands
Parameter
Description
<source-name>
The filename and path of a configuration file. This must be
a valid configuration file with a
.
cfg
filename extension.
Specify this to copy the script in the file into the startup-
config file. Note that this does not make the copied file the
new startup file, so any further changes made in the
configuration file are not added to the startup-config file
unless you reuse this command. See
106 for valid syntax.
<destination-name>
The destination and filename that you are saving the
startup- config as. This command creates a file if no file
exists with the specified filename. If a file already exists,
then the CLI prompts you before overwriting the file. See
on page 106 for valid syntax.