DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
370
Examples
This example shows how to download a firmware file from an FTP server.
DGS-3000-26TC:admin# download firmware_fromFTP 10.54.71.1 tcp_port 21 px.had
Command: download firmware_fromFTP 10.54.71.1 tcp_port 21 px.had
Connecting to server................... Done.
User(Anonymous): john
Pass:******
Download firmware...................... Done. Do not power off!
Please wait, programming flash......... Done.
This example shows how to download a firmware form an FTP server using a string.
DGS-3000-26TC:admin# download firmware_fromFTP ftp:
john:123456@10.54.71.1:21/image/px.had
Command: download firmware_fromFTP ftp: john:123456@10.54.71.1:21/image/px.had
Connecting to server................... Done.
Download firmware...................... Done. Do not power off!
Please wait, programming flash......... Done.
upload firmware_toFTP 35-2
Description
This command is used to upload a firmware from the Switch to an FTP server.
Format
upload firmware_toFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>}
dest_file <path_filename 64> | ftp: <string 128>] {src_file <pathname 64>}
Parameters
<ipaddr> - Enter the IPv4 address of the FTP server here.
<ipv6addr> - Enter the IPv6 address of the FTP server here.
tcp_port - (Optional) Specify the TCP port number used for the FTP connection.
<tcp_port_number 1-65535> - Enter the TCP port number here. This value must be between
dest_file - Specify the destination file name and path.
<path_filename 64> - Enter the destination file name and path here. This can be up to 64
ftp - Specify the FTP connection details.
<string 128> - Enter the FTP connection details here. For example,
john:123456@172.18.211.41:21/image/cfg.txt.
src_file - (Optional) Specify the source file's name and path.