D-Link DWS-1008 CLI Manual
0
Usage: The
filename
and
file:
filename
URLs are equivalent. You can use either URL to refer to
a file in a switch’s nonvolatile memory. The
tftp:
//ip-addr/filename
URL refers to a file on a TFTP
server. If DNS is configured on the switch, you can specify a TFTP server’s hostname as an
alternative to specifying the IP address.
The
tmp:
filename
URL specifies a file in temporary storage. You can copy a file out of temporary
storage but you cannot copy a file into temporary storage. Temporary storage is reserved for use
by MSS.
If you are copying a system image file into nonvolatile storage, the filename must be preceded
by the boot partition name, which can be
boot0 or boot1. Enter the filename as boot0:
/filename
or
boot1:
/filename
. You must specify the boot partition that was not used to load the currently
running image.
The maximum supported file size for TFTP is 32MB.
Examples: The following command copies a file called
floormx
from nonvolatile storage to a
TFTP server:
DWS-1008#
copy floormx tftp://10.1.1.1/floormx
success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]
The following command copies a file called
closetmx
from a TFTP server to nonvolatile storage:
DWS-1008#
copy tftp://10.1.1.1/closetmx closetmx
success: received 637 bytes in 0.253 seconds [ 2517 bytes/sec]
The following command copies system image
MX020101.020
from a TFTP server to boot partition
1 in nonvolatile storage:
DWS-1008#
copy tftp://10.1.1.107/MX020101.020 boot1:MX020101.020
............................................................................................................success: received
9163214 bytes in 105.939 seconds [ 86495 bytes/sec]
The following commands rename
test-config
to
new-config
by copying it from one name to the
other in the same location, then deleting
test-config
:
DWS-1008#
copy test-config new-config
DWS-1008#
delete test-config
success: file deleted.
The following command copies file
corpa-login.html
from a TFTP server into subdirectory
corpa
in a switch’s nonvolatile storage:
DWS-1008#
copy tftp://10.1.1.1/corpa-login.html corpa/corpa-login.html
success: received 637 bytes in 0.253 seconds [ 2517 bytes/sec]
See Also:
• delete
• dir
Summary of Contents for DWS-1008
Page 1: ......
Page 27: ...D Link DWS 1008 CLI Manual 24 ...