xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
Connecting to server................... Done.
Download configuration................. Done.
DGS-3620-28PC:admin#
This example shows how to upload the configuration file to an FTP server using a string and the
filter expression.
DGS-3620-28PC:admin# download cfg_fromFTP ftp:
john:123456@10.90.90.15:21/cfg/cfg.txt config_id 2 include "VLAN" "ipif"
exclude "fdb"
Command: download cfg_fromFTP ftp: john:123456@10.90.90.15:21/cfg/cfg.txt
config_id 2 include "VLAN" "ipif" exclude "fdb"
Connecting to server................... Done.
Download configuration................. Done.
DGS-3620-28PC:admin#
40-5
upload firmware_toFTP
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>] {unit <unit_id>} {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) 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
1 and 65535.
dest_file - Specifies the destination file name and path.
<path_filename 64> - Enter the destination file name and path here. This can be up to 64
characters long.
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.
src_file – (Optional) 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
characters long.
Restrictions
Only Administrators and Operators can issue this command.
520