Specifications
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
9
SWITCH UTILITY COMMANDS
The switch utility 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>] <path_filename 64>
{image_id <1-2>} {unit [all | unitid 1-12]} | cfg_fromTFTP [<ipaddr> |
<ipv6addr>] <path_filename 64> {<config_id 1-2> | increment}]
config firmware image unit [unitid 1-12] <image_id <int 1-2> [delete | boot_up]
show firmware information
config configuration
<config_id 1-2> [boot_up | delete | active]
show config [current_config | config_in_nvram <config_id 1-2> | information ]
upload [cfg_toTFTP [<ipaddr> | <ipv6addr>] <path_filename 64> {<config_id
1-2>} | log_toTFTP [<ipaddr> | <ipv6addr>] <path_filename 64>] |
attack_log_toTFTP [<ipaddr> | <ipv6addr>] <path_filename 64>] {unit
<unit_id 1-12>}]
clear attack_log {[unit <unit_id 1-12> | all]}
show attack_log {unit <unit_id 1-12>} {index <value_list>}
enable autoconfig
disable autoconfig
show autoconfig
ping <ipaddr> {times <value 0-255>} {timeout <sec 1-99>}
ping6 <ipv6addr> {times <value 0-255> | size <value 1-6000> | timeout
<value 1-10>}
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> | <ipv6addr>] <path_filename 64>
{image_id <1-2>} {unit [all | unitid 1-12]} | cfg_fromTFTP [<ipaddr> | <ipv6addr>]
<path_filename 64> {<config_id 1-2> | increment}]
Description This command is used to download a new firmware or a switch configuration file from a
TFTP server.
Parameters
firmware_fromTFTP − Download and install new firmware on the Switch from a TFTP
server.
cfg_fromTFTP − Download and install a new configuration file on the Switch from a
TFTP server.
• image_id - Specifies the image index ID number of the firmware in the Switch’s
memory. The Switch can store 2 firmware images for use. Image ID 1 will be
the default boot up firmware for the Switch unless otherwise configured by the
user.
• unit [all | <unitid 1-12>] - all specifies all units (switches), <unitid> is the unit ID
of the switch in the switch stack that will receive the download. This parameter
is for downloading firmware only.
• config − Download a switch configuration file from a TFTP server.
49