Specifications

copy
Chapter 20
File Management Commands
581
copy
Performs the following copy operations:
l Copies a file from a TFTP server to nonvolatile storage.
l Copies a file from nonvolatile storage or temporary storage to a TFTP server.
l Copies a file from one area in nonvolatile storage to another.
l Copies a file to a new filename in nonvolatile storage.
Syntax
copy source-url destination-url
Defaults
None.
Access
Enabled.
source-url Name and location of the file to copy. The uniform resource
locator (URL) can be one of the following:
•[subdirname/]filename
file:[subdirname/]filename
tftp://ip-addr/[subdirname/]filename
tmp:filename
For the filename, specify between 1 and 128 alphanumeric
characters, with no spaces. Enter the IP address in dotted
decimal notation.
The subdirname/ option specifies a subdirectory.
destination-url Name of the copy and the location where to place the copy.
The URL can be one of the following:
•[subdirname/]filename
file:[subdirname/]filename
tftp://ip-addr/[subdirname/]filename
If you are copying a system image file into nonvolatile
storage, the filename must include the boot partition name.
You can specify one of the following:
boot0:/filename
boot1:/filename