mac

68
1.5 Commands for Switch Upgrade
1.5.1 copyFTP
Command: copy <source-url> <destination-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;
<destination-url> is the destination address to which the files or directories to be copied;
forms of <source-url> and <destination-url> 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 transmissiondefault transmission
method .When URL represents an FTP address, its form should be:
ftp://<username>:<password>@{<ipaddress>|<ipv6address>|<hostname> }/<filename>,a
mongst <username> is the FTP user name, <password> is the FTP user password,
<ipaddress>|<ipv6address> is the IPv4 or IPv6 address of the FTP server/client,
<hostname> 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, <filename> 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
It means the reboot configuration files when using copy
running-config startup-config command
nos.img
System files
boot.rom
System startup files
stacking/nos.img
As destination address, execute system files upgrade for Slave in
stacking mode
stacking/nos.rom
As destination address, execute system startup files upgrade for
Slave in stacking mode
Command Mode: Admin Mode.
Usage Guide: This command supports command line hints, namely if the user can enter
commands in following forms: copy <filename> ftp:// or copy ftp:// <filename> 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>