xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
518
Chapter 41
FTP Client
Commands
download cfg_fromFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>} src_file
<path_filename 64> | ftp: <string 128>] {[unit <unit_id> | all]} {dest_file <path_filename 64>}
download firmware_fromFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>}
src_file <path_filename 64> | ftp: <string 128>] {[unit <unit_id> | all]} {dest_file <path_filename
upload attack_log_toFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>}
dest_file <path_filename 64> | ftp: <string 128>] {unit <unit_id>}
upload cfg_toFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>} dest_file
<path_filename 64> | ftp: <string 128>] {unit <unit_id>} {src_file <path_filename 64>} {[include
| exclude | begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include | exclude |
begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include | exclude | begin]
<filter_string 80> {<filter_string 80> {<filter_string 80>}}}}}
upload firmware_toFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>} dest_file
<path_filename 64> | ftp: <string 128>] {unit <unit_id>} {src_file <pathname 64>}
upload log_toFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>} dest_file
<path_filename 64> | ftp: <string 128>]
41-1 download cfg_fromFTP
Description
This command is used to download a configuration file from an FTP server.
Format
download cfg_fromFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>}
src_file <path_filename 64> | ftp: <string 128>] {[unit <unit_id> | all]} {dest_file
<path_filename 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) Specifies 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
src_file - Specifies the source file's name and path.
<path_filename 64> - Enter the source file's name and path here. This can be up to 64
ftp: - Specifies the FTP connection details.
<string 128> - Enter the FTP connection details here. For example,
john:123456@172.18.211.41:21/image/cfg.txt.
unit - (Optional) Specifies the switch stacking unit's ID.
<unit_id> - Enter the switch stacking unit's ID here.
all - Specifies that all the switch units in the stack will be used.
dest_file - (Optional) Specifies the destination file name and path.
<path_filename 64> - Enter the destination file name and path here. This can be up to 64