beautypg.com

2 commands for switch upgrade, 1 copy(ftp – Accton Technology ES4626 User Manual

Page 93

background image

93

2.5.3.2.2 Commands for Switch Upgrade

2.5.3.2.2.1 copyFTP

Command: copy <source-url> [ascii | binary]

Function:

Download files to the FTP client.

Parameter <source-url>

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 <source-url> 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 FTP address, its form should

be:

ftp://:@{<ipaddress>|<ipv6address>| }/,a

mongst is the FTP user name, is the FTP user

password,<ipaddress>|<ipv6address> is the IPv4 or IPv6 address of the FTP

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 FTP upload/download file.

Special keywords of the filename

Keywords

Source or destination addresses

running-config

Running configuration files

startup-config

Startup configuration files

nos.img

System files

nos.rom

System startup files

Command Mode: Admin Mode

Usage Guide:

This command supports command line hints,namely if the user can enter

commands in following forms: copy ftp:// or copy ftp:// and
press Enter,following hints will be provided by the system:

ftp server ip/ipv6 address [x.x.x.x]/[x:x::x:x] >

ftp username>

ftp password>

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 2004:1:2:3::6

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

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

This manual is related to the following products: