371
DWS-1008 User’s Manual
D-Link Systems, Inc.
Managing System Files
To copy file
corpa-login.html
from a TFTP server into subdirectory
corpa
in a switch’s
nonvolatile storage, type the following command:
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]
Deleting a File
Note:
MSS does not prompt you to verify whether you want to delete a file. When you press
Enter after typing a
delete
command, MSS immediately deletes the specified file. D-Link
recommends that you copy a file to a TFTP server before deleting the file.
MSS does not allow you to delete the currently running software image file or the running
configuration.
To delete a file, use the following command:
delete
url
The URL can be a filename of up to 128 alphanumeric characters.
To copy a file named
testconfig
to a TFTP server and delete the file from nonvolatile storage,
type the following commands:
DWS-1008#
copy testconfig tftp://10.1.1.1/testconfig
success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]
DWS-1008#
delete testconfig
success: file deleted.
Creating a Subdirectory
You can create subdirectories in the user files area of nonvolatile storage. To create a
subdirectory, use the following command:
mkdir
[
subdirname
]
To create a subdirectory called
corp2
and display the root directory to verify the result, type
the following commands: