xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
574
82
TFTP
C
LIENT
C
OMMANDS
The TFTP Client commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
download firmware_fromTFTP
[<ipaddr> | <ipv6addr> | <domain_name 255>] {src_file} <path_filename 64>
{image_id <int 1-2>} {unit [all |<unitid 1-12>]}
download cfg_fromTFTP
[<ipaddr> | <ipv6addr> | <domain_name 255>] {src_file} <path_filename 64>
{[<config_id 1-2> | increment]}
upload 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>}}}}}
upload log_toTFTP
[<ipaddr> | <ipv6addr> |<domain_name 255>] {dest_file} <path_filename 64>
upload attack_log_toTFTP
[<ipaddr> | <ipv6addr> |<domain_name 255>] {dest_file} <path_filename 64>
{unit <unit_id 1-12>}
Each command is listed, in detail, in the following sections.
download firmware_fromTFTP
Purpose
Used to download the firmware image from TFTP server.
Syntax
download firmware_fromTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] {src_file}
<path_filename 64> {image_id <int 1-2>} {unit [all |<unitid 1-12>]}
Description
This command is used to download a firmware image file from the TFTP server.
Parameters
<ipaddr>
- The IP address of the TFTP server.
<ipv6addr>
- The IPV6 address of the TFTP server.
<domain_name 255>
- The domain name of the TFTP server.
{src_file} <path_filename 64>
- Used to identify the parameter “path_filename”. The
pathname specifies the pathname on the TFTP server. It can be a relative pathname or an
absolute pathname. The drive ID can be specified in this string.
image_id
- Specifies the firmware image ID. If image ID is not specified, it refers to the
boot_up image.
u
n
it - Specifies which unit on the stacking system. If it is not specified, it refers to the master
unit.
all
- When all is specified, the firmware image on all units will be updated.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To download firmware from TFTP: