xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
64
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>] src_file <path_filename 64> {image_id
<int 1-2>} {unit [all | <unitid 1-8>]} | cfg_fromTFTP <ipaddr> <path_filename 64>
{[<config_id 1-2> | increment]} ]
config firmware
{unit <unit_id 1-8>} image_id <int 1-2> [delete | boot_up]
show firmware_information
show config
[[effective | modified | current_config | config_in_nvram <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>}}}}} |
information]
upload
[cfg_toTFTP [<ipaddr> | <ipv6addr>] 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>}}}}} | log_toTFTP [<ipaddr>| <ipv6addr>] dest_file <path_filename 64> |
attack_log_toTFTP [<ipaddr> | <ipv6addr>] dest_file <path_filename 64>]
config configuration
<config_id 1-2>[boot_up | delete | active]
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>] src_file <path_filename 64>
{image_id <int 1-2>} {unit [all | <unitid 1-8>]} | cfg_fromTFTP <ipaddr> <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 a Switch configuration file from a TFTP server.
<ipaddr>
−
The IP address of the TFTP server.
<ipv6addr>
- Enter the IPv6 address used here.
src_file
– Specifies the source file name used.
<path_filename>
−
The DOS path and filename of the firmware or Switch configuration file on
the TFTP server. For example, C:\3528.had.
image_id <int 1-2>
−
Specify the working section ID. The Switch can hold two firmware
versions for the user to select from, which are specified by section ID.
unit
- Specifies which unit(s) on the stacking system can download and install new firmware
from a TFTP server. If it is not specified, it refers to all the units. For example,
unit 1-3
.
config_id
- Specifies configuration ID in the system; If it is not specified, it refers to the boot
up configuration ID.
increment
−
Allows the download of a partial Switch configuration file. This allows a file to be
downloaded that will change only the Switch parameters explicitly stated in the configuration
file. All other Switch parameters will remain unchanged.
Restrictions
The TFTP server must be on the same IP subnet as the Switch. Only Administrator-level
users can issue this command.
Example usage: