System information

360
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
File Management Commands
Usage: The backup command stores the MAC address of the switch in the archive. By
default, the restore command works only if the MAC address in the archive matches
the MAC address of the switch where the restore command is entered. The force
option overrides this restriction and allows you to unpack one switch’s archive onto
another switch.
Examples: The following command restores system-critical files on a switch, from
archive sysa_bak:
DWS-1008# restore system tftp:/10.10.20.9/sysa_bak
success: received 11908 bytes in 0.150 seconds [ 79386 bytes/sec]
success: restore complete.
rmdir
Removes a subdirectory from nonvolatile storage.
Syntax: rmdir [subdirname]
subdirname Subdirectory name. Specify between 1 and 32
alphanumeric characters, with no spaces.
Defaults: None.
Access: Enabled.
Usage: MSS does not allow the subdirectory to be removed unless it is empty. Delete
all files from the subdirectory before attempting to remove it.
Examples: The following example removes subdirectory corp2:
DWS-1008# rmdir corp2
success: change accepted.
save config
Saves the running configuration to a configuration file.
Syntax: save config [filename]
filename Name of the configuration file. Specify between
1 and 128 alphanumeric characters, with no
spaces.
To save the file in a subdirectory, specify the
subdirectory name, followed by a forward slash,
in front of the filename. For example: backup_
configs/config_c.