DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
659
Example
To download firmware from TFTP:
DWS-3160-24PC:admin# download firmware_fromTFTP 10.54.71.1 src_file px.had
Command: download firmware_fromTFTP 10.54.71.1 src_file px.had
Connecting to server................... Done.
Download firmware...................... Done. Do not power off!
Please wait, programming flash......... Done.
DWS-3160-24PC:admin#
To download configuration from TFTP:
DWS-3160-24PC:admin# download cfg_fromTFTP 10.54.71.1 src_file cfg01.txt
Command: download cfg_fromTFTP 10.54.71.1 src_file cfg01.txt
Connecting to server................... Done.
Download configuration................. Done.
DWS-3160-24PC:admin#
72-2
upload
Description
This command is used to upload firmware and configuration from device to TFTP server.
Format
upload [cfg_toTFTP [<ipaddr> | <ipv6addr>] dest_file <path_filename 64> {src_file
<pathname 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>}}}}} | log_toTFTP [<ipaddr> | <ipv6addr>] dest_file <path_filename 64> |
attack_log_toTFTP [<ipaddr> | <ipv6addr>] dest_file <path_filename 64> | firmware_toTFTP
[<ipaddr> | <ipv6addr>] dest_file <path_filename 64> {src_file <path_filename 64>}]
Parameters
cfg_toTFTP
– Specifies that the configuration file will be uploaded to the TFTP server.
<ipaddr>
- (Optional) The IP address of the TFTP server.
<ipv6addr>
- (Optional) The IPv6 address of the TFTP server.
dest_file
- (Optional) Used to identify the parameter “path_filename”.
<path_filename 64>
- The pathname specifies the pathname on the TFTP server. It can be a
relative pathname or an absolute pathname. This name can be up to 64 characters long.
src_file
- (Optional) Used to identify the parameter “path_filename”.
<pathname 64>
- The pathname specifies an absolute pathname on the device file system. If
pathname is not specified, it refers to the boot_up CFG file. This name can be up to 64
characters long.
<filter_string 80>
- (Optional) A filter string is enclosed by symbol. Thus, the filter string itself
cannot contain the character. The filter string is case sensitive. This string can be up to 80
characters long.