5 Command Line Interface
D-Link Web Smart Switch User Manual
84
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>
−
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.
Restrictions
None.
Example usage:
To download a firmware file:
DGS-1210-28>
download firmware_fromT F T P 1.1.1.23 1\dgs _1210-10032.ros
01–J an–2000 01: 19: 48 %C OP Y –I–F IL E C P Y : F iles C opy – s ource UR L tftp: //1.1.1.23 /1\
dgs _1210—10032.ros des tination UR L Unit all flas h: //image
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!01–J an–2000 01: 22: 49 %C OP Y –W–T R AP :
T he copy operation was completed s ucces s fully
!
3920460 bytes copied in 00: 03: 01 [hh: mm: s s ]
DGS-1210-28>
Note:
Switch will reboot after restore and
all current configurations will be lost.
upload
Purpose
To upload the firmware file or a Switch configuration file to a
TFTP server.