Configuration and Image File Commands
78-21075-01 Command Line Interface Reference Guide
9.1
copy
The copy Privileged EXEC mode command copies a source file to a destination
file.
Syntax
source-url destination-url
copy
Parameters
•
source-url—Specifies the source file URL or source file reserved keyword
to be copied. (Length: 1–160 characters)
•
destination-url—Specifies the destination file URL or destination file
reserved keyword. (Length: 1–160 characters).
•
"Flash://" —The source or destination URL scheme that specifies the access
method to the local flash memory. It stands for the root directory of the local
flash. It is the default scheme for a URL that does not explicitly contain a
scheme/access method (e.g. for copying the running configuration file, the
user may either use flash://running-config or just running-conig).
•
exclude—Do not include sensitive data in the file being copied.
•
Include-encrypted—Include sensitive data in its encrypted form.
•
include-plaintext—Include sensitive data in its plaintext form
The following table displays the URL options.
Source and/or Destination URL
running-config
startup-config
flash://startup-config
image
flash://image
exclude
include-encrypted
[
|
Source or Destination
Currently running configuration file. This
cannot be the destination file.
Startup configuration file.
Image file. If specified as the source file, it is
the active image file. If specified as the
destination file, it is the non-active image file.
9
include-plaintext
|
]
163