![Cisco ASR 14000 Series Management Command Reference Download Page 226](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667226.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
File System Commands on Cisco IOS XR Software
copy
SMR-224
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
Defaults
No default behavior or values
Command Modes
EXEC
Administration EXEC
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Source and destination can each be a configuration file, a text file, or a file system. Enter source and
destination URL information, usernames, and passwords and issue the
copy
command. The networking
device prompts for any missing information.
The exact format of the
source
and
destination
arguments vary according to the file or directory location.
Enter the device or network location for the file system type.
Filenames can include the following characters:
! # $ % & ' + 0 1 2 3 4 5 6 7 8 9 ; @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ a
b c d e f g h i j k l m n o p q r s t u v w x y z { } ~
The following characters can be used with the stated limitations:
•
` needs backslash before this character
•
- cannot be the first character
•
. cannot be the last character
•
= cannot be the filename without other characters
The following characters cannot be used in filenames:
" ( ) * , / : < > ? \ |
The maximum length allowed by the Cisco ASR 14000 Series Router router for a filename is 254
characters including the path. If a filename longer than 254 characters is specified, the filename is
truncated to 254 characters.
To copy a file from a source on the router to a destination on the router, specify a source
location
node-id
and a destination
location
node-id
. To copy the file to all nodes, use the keywords
location
all
.
In the alias syntax for the
ftp:
,
rcp:
, and
tftp:
keywords, the location is either an IP address or a
hostname. The filename is specified relative to the directory used for file transfers.
When no alias is specified, the networking device looks for a file in the current directory. To view the
current directory, enter the
pwd
command.
Note
During processing of the
copy
command, you might see the “C” character. For all files being copied,
“C” indicates that the copy process is taking place. The entire copying process might take several
minutes and differs from protocol to protocol and from network to network.
Releases
Modifications
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.