xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
684
94
TFTP CLIENT COMMANDS
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>
{dest_file {{unit [<unitid 1-12> | all]} <drive_id>} <pathname 64> {boot_up}}}
download cfg_fromTFTP
{[<ipaddr> | <ipv6addr> | <domain_name 255>] src_file <path_filename 64>
{[dest_file {<drive_id>} <pathname 64> | increment]}}
upload firmware_toTFTP
{[<ipaddr> | <ipv6addr> | <domain_name 255>] dest_file <path_filename 64>
{src_file {<drive_id>} <pathname 64>}}
upload cfg_toTFTP
{[<ipaddr> | <ipv6addr> | <domain_name 255>] dest_file <path_filename 64>
{src_file
{<drive_id>} <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>}}}}}}
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> {dest_file {{unit [<unitid 1-12> | all]} <drive_id>} <pathname 64>
{boot_up}}}
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
- The domain name of the TFTP server.
src_file
- Used to identify the parameter “path_filename”.
dest_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. The drive ID can be specified in this string.
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.
boot_up
- The result of downloading will depend on whether boot_up option is specified.
Case 1: In case that the master unit provides file system and the slave unit does not provide
file system, if boot_up is specified, then the file will be downloaded to the boot_up image on
the slave. If boot_up is not specified, then the file will not be downloaded to this slave unit.
Case 2: In case that the master unit does not provide file system and the slave unit provides
file system, if boot_up is specified, then the file will be downloaded to the boot_up image on
the slave unit. If boot_up is not specified, then the file will not be downloaded to this slave
unit.