9-51
Command Line Reference
Flash/File Commands
copy
This command copies data from a remote server onto the device.
Syntax
copy <ftp | scp | tftp> <flash | startup-config> <ip> <file> [user-name <user>
password <pass>]
• ftp | scp | tftp-Specify the type of remote server where the file is located.
Possible servers are File Transfer Protocol (FTP), Secure Copy
Protocol (SCP), and the Trivial File Transfer Protocol (TFTP).
• flash-Specify that the type of file to retrieve, is an image file that will
be used to upgrade bootcode and/or software on the device
.
• startup-config-Specify that the type of file to retrieve, is the startup
configuration file. This operation will replace the existing startup
configuration file on the device.
• ip-The IP address of the remote server.
• file-The filename of the file on the remote server.
• user-name <user> password <pass>-Specify the username and pass-
word for the FTP and SCP remote servers.
Default Setting
N/A
Command Mode
Manager Exec
Example.
copy custom-default startup-config
This command sets the startup configuration file to contain the same settings
as the customer-modifiable configuration on the device and reloads the
device. This option is functionally the same as the erase startup-config
command.
ProCurve Access Point 530# copy startup-config tftp
192.168.1.52 copystart
ProCurve Access Point 530# copy ftp flash 192.168.1.52
WA.01.00.img user-name Chris password chrispass
ProCurve Access Point 530#