6 Command Line Interface
D-Link Smart Managed Switch User Manual
138
show boot_file
show fan reg
show firmware information
show flash information
show ipif [<ipif_name>]
show route { ipv4 | ipv6 }
show switch
upload {firmware_toTFTP {<ipaddr>| <ipv6addr>} <path_filename (64)> image_id <
integer 1-2> | cfg_toTFTP {<ipaddr>| <ipv6addr>} <path_filename (64)>}
DGS-1210-52MP>
download
Purpose
To download and install a firmware, boot, or switch configuration
file from a TFTP server.
Syntax
download {firmware_fromTFTP {<ipaddr>| <ipv6addr>}
<path_filename (64)> image_id <integer 1-2> | cfg_fromTFTP
{<ipaddr>| <ipv6addr>} <path_filename (64)>}
Description
The
download
command downloads a firmware, boot, or 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 IPv4 address of the TFTP server.
<ipv6addr>
− The IPv6 address of the TFTP server.
<path_filename 64>
− The filename of the firmware or switch
configuration file on the TFTP server. You need to specify the
DOS path if the file is not at the root directory of the TFTP server.
image_id <integer 1-2> -
Specifies the image id to be configured.
Restrictions
None.
Example usage:
To download a firmware file: