xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1155
Example
To download firmware from an RCP server:
DGS-3620-28SC:admin#download firmware_fromRCP username rcp_user 10.90.90.90
src_file /home/DGS-3620.had
Command: download firmware_fromRCP username rcp_user 10.90.90.90 src_file
/home/DGS-3620.had
Connecting to server................... Done.
Download firmware...................... Done. Do not power off !!
Please wait, programming flash......... Done.
Saving current settings to NV-RAM...... Done.
110-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> - Enter the IP address of the TFTP server.
<ipv6addr> - Enter 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 - Specifies the path name on the TFTP server. It can be a relative path name or an
absolute path name
<path_filename 64> - Enter 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
unit - (Optinal) Specifies which unit on the stacking system. If it is not specified, it refers to the
<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> - Enter 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.