beautypg.com

2 copy(tftp, 2 copy(tftp) -98, 2 copy ( tftp – PLANET XGS3-24042 User Manual

Page 98

background image

XGS3 Command Guide

1-98

ftp filename>

Requesting for FTP server address, user name, password and file name

Examples:

(1) Save images in the FLASH to the FTP server of 10.1.1.1, FTP server username is Switch, password is superuser

Switch#copy nos.img ftp://Switch:[email protected]/nos.img

(2) Obtain system file nos.img from the FTP server 10.1.1.1, the username is Switch, password is superuser

Switch#copy ftp://Switch:[email protected]/nos.img nos.img

(3) Save images in the FLASH to the FTP server of 2004:1:2:3::6

Switch#copy nos.img ftp://username:password@2004:1:2:3::6/ nos.img

(4) Obtain system file nos.img from the FTP server 2004:1:2:3::6

Switch#copy ftp:// username:password@2004:1:2:3::6/nos.img nos.img

(5) Save the running configuration files

Switch#copy running-config startup-config

Relevant Command:

Write

1.5.2 copyTFTP

Command:

copy [ascii | binary]

Function:

Download files to the TFTP client.

Parameter:

is the location of the source files or directories to be copied;

is the destination address to which the files or directories to be copied; forms of and

vary depending on different locations of the files or directories.

ascii indicates the ASCII standard will be adopted;

binary indicates that the binary system will be adopted in the file transmission(default transmission method).When

URL represents an TFTP address, its form should be: tftp://{||}/,

amongst | is the IPv4 or IPv6 address of the TFTP server/client, is the

name of the host mapping with the IPv6 address, it does not support the file download and upload with hosts

mapping with IPv4 addresses, is the name of the TFTP upload/download file.

Special keyword of the filename

Keywords

Source or destination addresses

running-config

Running configuration files

startup-config

Startup configuration files