System information

356
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
File Management Commands
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
The table below describes the fields in the dir output.
Output for dir
Field Description
Filename Filename or subdirectory name.
For files, the directory name is shown in front of the filename
(for example, file:configuration). The file: directory is the root
directory.
For subdirectories, a forward slash is shown at the end of the
subdirectory name (for example, old/ ).
In the boot partitions list (Boot:), an asterisk (*) indicates the
boot partition from which the currently running image was
loaded and the image filename.
Size Size in Kbytes or bytes.
Created System time and date when the file was created or copied onto
the switch.
Total Number of kilobytes in use to store files and the number that
are still free.
load config
Loads configuration commands from a file and replaces the switch’s running configuration
with the commands in the loaded file.
Syntax: load config [url]
url Filename. Specify between 1 and 128
alphanumeric characters, with no spaces.
If the file is in a subdirectory, specify the
subdirectory name, followed by a forward slash,
in front of the filename. For example: backup_
configs/config_c.
Defaults: The default file location is nonvolatile storage.