File System Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 428
18
•
dst-url
—The URL of the destination file or the directory to be copied. The
predefined URL aliases cannot be configured.
• exclude—The file does not include sensitive data in the file being copied.
• include-encrypted—The file includes sensitive data in its encrypted form.
This secure option is applied by default, if no secure option is configured.
• include-plaintext—The file includes sensitive data in its plaintext form.
Command Mode
Privileged EXEC mode
User Guidelines
The following guidelines are relevant:
• You cannot copy one network file to another network file.
• Use the copy
src-url dst-url
command to copy any file. If the
dst-url
argument defines an existed flash file the command fails if this file does not
have the writable permission. If the
dst-url
argument defines a directory file
then the file is copied into the directory with the same name. No file format
validation or conversion is performed. If the
src-url
argument and
dst-url
arguments define flash files the
dst-url
file will have the permissions of the
src-url
file. If the
src-url
argument defines a non-flash file and the
dst-url
argument defines a flash files the
dst-url
file will have the following
permissions:
- readable
- writable
• Use the copy
src-url
running-config command to add a file to the Running
Configuration file.
• The copy running-config
startup-config command has exactly the same
functionality as the boot config command with the running-config keyword.
Example
Example 1. The following example copies file file1 from the TFTP server
172.16.101.101 to the flash://aaaa/file1 file:
switchxxxxxx#
copy tftp://172.16.101.101/file1 flash://aaa/file1