Cisco Cisco Tunnel Terminating Gateway (TTG) Fascicule
Exec Mode Commands (A-C)
copy ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
3809
to_url
Specifies the destination of the copy.
url
may refer to a local or a remote file.
url
must be entered using the
following format:
For the ASR 5000:
For the ASR 5000:
[ file: ]{ /flash | /pcmcia1 | /hd-raid }[ /directory ] /file_name
tftp://{ host[ :port# ] } [ /directory ] /file_name
[ ftp: | sftp: ] / / [ username [ :password ] @ ] { host } [ :port# ] [
/directory ] /file_name
For the ASR 5500:
[ file: ]{ /flash | /usb1 | /hd-raid }[ /directory ] /file_name
tftp://{ host[ :port# ] } [ /directory ] /file_name
[ ftp: | sftp: ] / / [ username [ :password ] @ ] { host } [ :port# ] [
/directory ] /file_name
Important:
Use of the SMC hard drive is not supported in this release.
directory
is the directory name.
filename
is the actual file of interest.
username
is the user to be authenticated.
password
is the password to use for authentication.
host
is the IP address or host name of the server.
port#
is the logical port number that the communication protocol is to use.
passive
Indicates the file copy is to use the passive mode FTP.
-noconfirm
Executes the command without any additional prompt and confirmation from the user.
Important:
Use of the
-noconfirm
option allows the over writing of an existing file if the destination file
already exists.
Usage
Copy configuration files, log files, etc.,to provide backups of data through the network.
Example
For thew ASR 5000, the following copies files from the local
/flash/pub
directory to remote node
remoteABC
’s
/pcmcia2/pub
directory with and without confirmation respectively.
copy http://remoteABC/pub/june.cfg /flash/pub/june.cfg
copy tftp://remoteABC/pub/june.cfg /pcmcia2/pub/june.cfg -noconfirm
For the ASR 5500, the following copies files from the local
/flash/pub
directory to remote node
remoteABC
’s
/flash/pub
directory with and without confirmation respectively.
copy http://remoteABC/pub/june.cfg /flash/pub/june.cfg