10
OL-32830-01 Command Line Interface Reference Guide 254
Configuration and Image File Commands
10.0
10.1 copy
The copy Privileged EXEC mode command copies a source file to a destination
file.
Syntax
copy
source-url
destination-url
[exclude | include-encrypted | include-plaintext]
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).
• 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 URL options are supported:
• running-config—Currently running configuration file.
• startup-config, flash://startup-config—Startup configuration file.
• image, flash://image—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.
• boot—Boot file.
• tftp://—Source or destination URL for a TFTP network server. The syntax for this alias is
tftp://host/[directory]/filename
. The host can be either an IP address or a host name.