System information

Table Of Contents
3. Commands
3-88 July 2004 4821-A2-GB21-00
Copy (Configuration)
The copy function is used for saving and restoring configurations. The command is
designed so that a file is copied from the first specified configuration to the
second specified configuration or FTP (meaning FTP server file system).
The prototype for the command is:
copy {source}[options]{destination}[options]
There is a restriction when FTP is used as either the source or the destination. In
this case the other parameter must be "startup-config". All FTP transfers are
to/from the configuration file in nonvolatile memory. In order to download a
configuration and make it active, the Administrator must execute two copy
commands. The first command does an FTP transfer to the startup configuration
file. The second command copies the startup configuration to the running
configuration.
Copy From FTP Server to Startup Configuration (Download Configuration)
copy ftp {ip_address} { user_name} { password} { filename} startup-config
Minimum Access Level: Administrator
The copy ftp command downloads a configuration file to the start up configuration which is in
non-volatile memory.
ftp – Specifies that destination file is on an FTP server. The ftp keyword must be followed in
order by:
ip_address – The IP address of the FTP server
user_name – A user name allowed on the FTP server
password – The password associated with the user name
filename – The name of the source or destination file
startup-config – Specifies that the destination file is the configuration in non-volatile memory.
Example:
PDYN# copy ftp 135.90.28.28 ftpuser ftppw save.config startup-config