Page 686 / 757 Scroll up to view Page 681 - 685
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
682
DGS-3627:admin# upload tech_support_to_TFTP 10.0.0.66 tech_report.txt
Command: upload tech_support_to_TFTP 10.0.0.66 tech_report.txt
Connecting to server
...................
Done.
Upload techsupport file
................
Done.
Success.
DGS-3627:admin#
Page 687 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
683
93
TELNET CLIENT COMMANDS
The Telnet Client commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
telnet
[<ipaddr> | <domain_name 255>] {tcp_port(1) <value 0-65535>}
Each command is listed, in detail, in the following sections.
telnet
Purpose
Used to initiate a Telnet client session with a specific Telnet server.
Syntax
telnet [<ipaddr> | <domain_name 255>] {tcp_port(1) <value 0-65535>}
Description
The Telnet command establishes a single Telnet client connection with a specified server.
The parameters specified by the command will only be used for the establishment of this
specific session. They will not affect the establishment of other sessions.
Parameters
ipaddr
- The IP address of the Telnet server.
domain_name
- Specify the domain name of the Telnet server.
tcp_port
- Specifies the Telnet server port number to be connected. If not specified, the
default port is 23.
Restrictions
None.
Example usage:
Telnet to a Switch by specifying the IP address:
DGS-3627:admin# telnet 10.90.90.90
Command: telnet 10.90.90.90
DGS-3627 Fast Ethernet Switch Command Line Interface
Firmware: Build 1.01-B03
Copyright(C) 2006-2010 D-Link Corporation. All rights reserved.
UserName:
Telnet to a host by specifying the domain name and the server port:
DGS-3627:admin# telnet ctrl.iplanet.org tcp_port 2323
Command: telnet ctrl.iplanet.org tcp_port 2323
Login:
Page 688 / 757
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.
Page 689 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
685
download firmware_fromTFTP
Case 3: In case that the master unit and the slave unit both support or not support file
system, the file will be downloaded to the specified file on the slave unit. If boot_up is
specified, the downloaded file will be assigned as the boot_up image.
pathname
- The pathname specifies an absolute pathname on the device file system. If
pathname is not specified, it refers to the boot_up image.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To download firmware from TFTP:
DGS-3627: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-3627: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> {[dest_file {<drive_id>} <pathname 64> | 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”.
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.
pathname
- The pathname specifies an absolute pathname on the device file system.
If pathname 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:
Page 690 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
686
DGS-3627: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-3627:admin#
upload firmware_toTFTP
Purpose
Used to upload firmware from device to TFTP server.
Syntax
upload firmware_toTFTP {[<ipaddr> | <ipv6addr> | <domain_name 255>] dest_file
<path_filename 64> {src_file {<drive_id>} <pathname 64>}}
Description
This command is used to upload firmware from the device to 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_f
ile - 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.
pathname
- The pathname specifies an absolute pathname on the device file system. If
pathname is not specified, it refers to the boot_up image.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To upload firmware from a file system device to a TFTP server:
DGS-3627:admin#upload firmware_toTFTP 10.1.1.1 dest_file D:\firmware.had 100b70.had
Command: upload firmware_toTFTP 10.1.1.1 dest_file D:\firmware.had 100b70.had
Connecting to server
...................
Done.
Upload firmware
........................
Done.
DGS-3627: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 {[<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>}}}}}}
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.
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

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top