User`s manual

375
DWS-1008 User’s Manual
D-Link Systems, Inc.
Managing System Files
Loading a Conguration File
Caution: This command completely removes the running conguration and replaces it ith the
conguration contained in the le. D-Link recommends that you save a copy of he current
running conguration to a backup conguration le before loading a new conguration.
To load conguration commands from a le into the switch’s running conguration, use the
following command:
load cong [url]
The default URL is the name of the conguration le loaded after the last reboot. To load a
conguration le named newconfig, type the following command:
DWS-1008# load cong newcong
Reloading configuration may result in lost of connectivity, do you wish to continue? (y/n)
[n]y
success: Configuration reloaded
After you type y, MSS replaces the running conguration with the conguration in the newconfig
le. If you type n, MSS does not load the newconfig le and the running conguration remains
unchanged.
Resetting to the Factory Default Conguration
To reset the switch to its factory default conguration, use the following command:
clear boot cong
This command removes the conguration le that the switch searches for after the software
is rebooted.
To back up the current conguration le named configuration and reset the switch to the
factory default conguration, type the following commands:
DWS-1008# copy conguration tftp://10.1.1.1/backupcfg
success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]
DWS-1008# clear boot cong
success: Reset boot config to factory defaults.
DWS-1008# reset system force
...... rebooting ......
The reset system force command reboots the switch. The force option immediately restarts
the system and reboots. If you do not use the force option, the command rst compares the
running conguration to the conguration le. If the les do not match, MSS does not restart
the switch but instead displays a message advising you to either save the conguration
changes or use the force option.