![D-Link DGS-1210/ME series Reference Manual Download Page 143](http://html.mh-extra.com/html/d-link/dgs-1210-me-series/dgs-1210-me-series_reference-manual_77989143.webp)
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
123
Parameters
cfg_fromFTP
<ftp_url 256>
− Downloads a switch configuration file
from a FTP server.
config_id <value 1-2>
− Indicates the Configuration file to be
downloaded.
firmware_fromFTP
<ftp_url 256>
− Downloads and installs firmware
on the Switch from a FTP server.
image_id
<value 1-2>
− Indicates the image file is to be
downloaded.
Restrictions
Only Administrator or operator-level users can issue this command.
Example usage:
To download a firmware file:
DGS-1210-28MP/ME:5# download firmware_fromTFTP 172.21.45.73
DGS-1210-
28MPME-B1-7-01-B038-ALL.hex
image_id 1
Command: download firmware_fromTFTP 172.21.45.73
DGS-1210-28MPME-B1-7-
01-B038-ALL.hex
image_id 1
Connecting to server…………………..Done.
Download firmware………………..…..Done. Do not power off!
Please wait, programming flash……Done.
Success.
Image Updated Successful
DGS-1210-28MP/ME:5#
upload
Purpose
To upload the current switch settings to a TFTP server.
Syntax
upload [[firmware_toTFTP [<ipaddr> | <ipv6_addr>]
<path_filename 64>] | [cfg_toTFTP [<ipaddr> | <ipv6_addr>]
<path_filename 64> image_id <value 1-2>] | [log_toTFTP
[<ipaddr> | <ipv6_addr>] <path_filename 64>]]
upload [[firmware_toFTP <ftp_url 256>] <path_filename 64>
image_id <value 1-2> | cfg_toFTP <ftp_url (256)>
<path_filename (64)> [config_id <value (1-2)>]]
Description
The
upload
command uploads the Switch’s current settings to a
TFTP server.
Parameters
firmware_toTFTP
− Specifies that the Switch’s current firmware are
to be uploaded to the TFTP server.
<ipaddr>
− The IPv4 address of the TFTP server. The TFTP server
must be on the same IP subnet as the Switch.
<ipv6_addr>
− The IPv6 address of the TFTP server. The TFTP
server must be on the same IP subnet as the Switch.
<path_filename 64>
− The location of the Switch configuration file on
the TFTP server.
image_id <value 1-2>
−
Specifies the image id which to be
uploaded.
Restrictions
Only Administrator or operator-level users can issue this command.