D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
834
DGS-3420-28SC:admin#download firmware_fromRCP username rcp_user 10.90.90.90
src_file /home/DGS-3420.had
Command: download firmware_fromRCP username rcp_user 10.90.90.90 src_file
/home/DGS-3420.had
Connecting to server................... Done.
Download firmware...................... Done. Do not power off !!
Please wait, programming flash......... Done.
Saving current settings to NV-RAM...... Done.
DGS-3420-28SC:admin#
92-4 upload
Description
This command is used to upload a firmware or a configuration file from device to TFTP server.
Format
upload [cfg_toTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] dest_file <path_filename
64> {unit <unit_id>} {src_file <pathname>} {[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> |
<domain_name 255>] dest_file <path_filename 64> | attack_log_toTFTP [<ipaddr> |
<ipv6addr> | <domain_name 255>] dest_file <path_filename 64> {unit <unit_id>} |
firmware_toTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] dest_file <path_filename
64> {unit <unit_id>} {src_file <pathname>}]
Parameters
cfg_toTFTP - Used to upload a configuration file from a device to a TFTP server.
<ipaddr> - Specify the IP address of the TFTP server.
<ipv6addr> - Specify the IPv6 address of the TFTP server.
<domain_name 255> - Enter the domain name of the TFTP server here. This name can be
up to 255 characters long.
dest_file - Specify the path name on the TFTP server. It can be a relative path name or an
absolute path name
<path_filename 64> - Specify the location of the switch configuration file on the TFTP server.
This file will be replaced by the uploaded file from the switch. The maximum length is 64
characters.
unit - (Optinal) Specifies which unit on the stacking system. If it is not specified, it refers to the
master unit.
<unit_id> - Enter the unit ID used here.
src_file - (Optional) Specify an absolute path name on the device file system. If a path name is
not specified, it refers to the boot up configuration file.
<pathname> - Specify the location of the switch configuration file on device.
include - (Optional) Includes lines that contain the specified filter string.
exclude - (Optional) Excludes lines that contain the specified filter string.
begin - (Optional) The first line that contains the specified filter string will be the first line of the
output.
<filter_string 80> - Specify a filter string enclosed by the quotation mark symbol. Thus, the
filter string itself cannot contain the quotation mark character. The filter string is case
sensitive.