369
DWS-1008 User’s Manual
D-Link Systems, Inc.
Managing System Files
The following command displays the files in the
old
subdirectory:
DWS-1008#
dir old
=============================================================
file:
Filename Size Created
file:configuration.txt
3541 bytes Sep 22 2003, 22:55:44
file:configuration.xml 24 KB
Sep 22 2003, 22:55:44
Total:
27 Kbytes used, 207824 Kbytes free
Copying a File
You can perform the following copy operations:
• Copy a file from a TFTP server to nonvolatile storage.
• Copy a file from nonvolatile storage or temporary storage to a TFTP server.
• Copy a file from one area in nonvolatile storage to another.
• Copy a file to a new filename in nonvolatile storage.
To copy a file, use the following command.
copy
source-url
destination-url
A URL can be one of the following:
• [
subdirname
/]
filename
•
file:
[
subdirname
/]
filename
•
tftp://
ip-addr
/
[
subdirname
/]
filename
•
tmp:
filename
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 refers to a file in temporary storage. You can copy a file out of
temporary storage but you cannot copy a file into temporary storage.
The
subdirname
/ option specifies a subdirectory.
If you are copying a system image file into nonvolatile storage, the
destination-url
must
include the boot partition name. You can specify one of the following:
•
boot0:/
filename
•
boot1:/
filename
You must specify the boot partition that
was not
used to load the currently running image.
Summary of Contents for DWS-1008
Page 1: ......