xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
575
DGS-3450: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.
DGS-3450:admin#
download cfg_fromTFTP
Purpose
Used to download configuration file from the TFTP server.
Syntax
download cfg_fromTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] {src_file}
<path_filename 64> {[<config_id 1-2> | increment]}
Description
This command is used to download a configuration file from a TFTP server.
Parameters
ipaddr
- The IP address of the TFTP server.
ipv6addr
- The IPV6 address of the TFTP server.
domain_name
- The domain name of the TFTP server.
src_file
- Used to identify the parameter “path_filename”.
path_filename
- The pathname specifies the pathname on the TFTP server. It can be a
relative pathname or an absolute pathname.
config_id
- Specifies the configuration file ID. I If cfg_id is not specified, it refers to the
boot_up configuration file.
increment
- This argument is only required for system which does not have file system and
only support one configuration file since the download of a configuration will automatically
apply the setting to the system. If increment is specified, then the existing configuration will
not be cleared before applying of the new configuration. If it is not specified, then the existing
configuration will be cleared before applying of the new configuration.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To download configuration from TFTP:
DGS-3450: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.
DGS-3450:admin#
upload cfg_toTFTP
Purpose
Used to upload a configuration file from device to TFTP server. This command is required to
be supported when file system is not supported on device’s FLASH EPROM.
Syntax
upload cfg_toTFTP cfg_toTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>]
{dest_file} <path_filename 64> {<config_id 1-2>} {[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>}}}}}
Description
This command is used to upload a configuration file from the device to the TFTP server.
Parameters
ipaddr
- The IP address of the TFTP server.