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> <path_filename 64> image_id <value 1-2> | cfg_fromTFTP
<ipaddr> <path_filename 64> {config_id <value 1-2> | increment} ]
config firmware image_id <int 1-2> [delete | boot_up]
show firmware
information
show config [ current_config {[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>}}}}} | 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> <path_filename 64> {config_id <value 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>
<path_filename 64>]
enable autoconfig
disable autoconfig
show autoconfig
ping <ipaddr> {times <value 1-255>} {timeout <sec 1-99>}
config terminal _line [default | <value 20-80>]
show terminal line
config configuration config_id <value 1-2> [ delete | boot_up | active ]
config configuration trap {save [enable|disable] | upload [enable|disable] | download [enable|disable]}(1)
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> image_id <value 1-2>
|cfg_fromTFTP <ipaddr> <path_filename 64> {config_id <value 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.
<path_filename> − The DOS path and filename of the firmware or switch configuration file
on the TFTP server. For example, C:\1228.had.