Cisco Cisco Packet Data Gateway (PDG) Folheto

Página de 8487
Exec Mode Commands (A-C)   
▀  copy 
 
 
▄  Cisco ASR 5x00 Command Line Interface Reference 
3808 
   
copy 
Copies files from one location to another. Allows files to be copied to/from locally, as well as from one remote location 
to another. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
copy from_url to_url [ passive ] [ -noconfirm ] 
from_url
 
Specifies the source 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: 
 
[ file: ]{ /flash | /pcmcia1 | /hd-raid }[ /directory ]/file_name
 
 
tftp://{ host
:port#
 
] }[ /directory ]/file_name
 
 
[ http: | 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
 
 
[ http: | ftp: | sftp: ]//[ username [ :password ]@ ] { host }[ :port# ][ 
/directory ]/file_name
 
Important:
  Use of the ASR 5000 SMC hard drive is not supported in this release. 
 
Important:
  Do not use the following characters when entering a string for the field names below: “/” (forward 
slash), “:” (colon) or “@” (at sign).  
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.