User`s manual
369
DWS-1008 User’s Manual
D-Link Systems, Inc.
Managing System Files
The following command displays the les 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 le from a TFTP server to nonvolatile storage.
• Copy a le from nonvolatile storage or temporary storage to a TFTP server.
• Copy a le from one area in nonvolatile storage to another.
• Copy a le to a new lename in nonvolatile storage.
To copy a le, use the following command.
copy source-url destination-url
A URL can be one of the following:
• [subdirname/]filename
• le:[subdirname/]filename
• tftp://ip-addr/[subdirname/]filename
• tmp:filename
The filename and le:filename URLs are equivalent. You can use either URL to refer to a le
in a switch’s nonvolatile memory.
The tftp://ip-addr/filename URL refers to a le on a TFTP server. If DNS is congured 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 le in temporary storage. You can copy a le out of
temporary storage but you cannot copy a le into temporary storage.
The subdirname/ option species a subdirectory.
If you are copying a system image le 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.