xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
8
S
WITCH
U
TILITY
C
OMMANDS
(I
NCLUDING
F
ILE
S
YSTEM
C
OMMANDS
)
The download/upload commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
download
[firmware_fromTFTP <ipaddr> <path_filename 64> {<path_filename 64>} |
config_fromTFTP <ipaddr> <path_filename 64> {<path_filename 64>}]
upload
[cfg_toTFTP <ipaddr> <path_filename 64> {<path_filename 64>} |
log_toTFTP <ipaddr> <path_filename 64> {<path_filename 64>}]
config firmware image
<path_filename 64> boot_up
show configuration
[current_config | startup_config | <path_filename 64>]
config configuration
<path_filename 64> [boot_up | active]
erase <path_filename
64>
rename <source_path_filename
64> <target_path_filename 64>
dir <path_filename
64>
show system boot_file
ping
<ipaddr> {times <value 1-255>} {timeout <sec 1-99>}
traceroute
<ipaddr> {ttl <value 1-60> | port <value 30000-64900> | timeout <sec 1-
65535> | probe <value <1-9>}
enable autoconfig
disable autoconfig
show autoconfig
show storage_media_info
Each command is listed, in detail, in the following sections.
download
Purpose
Used to download and install new firmware or a Switch configuration file from a
TFTP server.
Syntax
download [firmware_fromTFTP <ipaddr> <path_filename 64>
{<path_filename 64>} | config_fromTFTP <ipaddr> <path_filename 64>
{<path_filename 64>}]
Description
This command is used to download a new firmware or a Switch configuration file
from a TFTP server. The user now has the option of saving the firmware or
configuration file on the FLASH memory located in the Switch using the
previously allocated c:/ drive.
Parameters
firmware_fromTFTP
−
Download and install new firmware on the Switch from a
TFTP server.
•
•
•
<ipaddr>
−
The IP address of the TFTP server.
<path_filename 64>
−
The DOS path and filename of the firmware file
on the TFTP server. For example, C:\3226S.had.
{<path_filename 64>} –
The second
path_filename
in the command
refers to the FLASH memory located on the switch. This drive is
nominated c: and those who wish to save the firmware, instead of
uploading it directly to the NV-RAM must specify the path on the
FLASH memory to place this file (ex. c:/firm1). The filename cannot
46