User`s manual
377
DWS-1008 User’s Manual
D-Link Systems, Inc.
Managing System Files
Caution: Do not use the force option unless advised to do so by D-Link TAC. If you restore one
switch’s system les onto another switch, you must generate new key pairs and certicates
on the switch.
Managing Conguration Changes
The backup command places the boot conguration le into the archive. (The boot
conguration le is the Configured boot configuration in the show boot command’s output.)
If the running conguration contains changes that have not been saved, these changes are
not in the boot conguration le and are not archived. To make sure the archive contains the
conguration that is currently running on the switch, use the save cong command to save
the running conguration to the boot conguration le, before using the backup command.
The restore command replaces the boot conguration on the switch with the one in the
archive. The boot conguration includes the conguration lename and the image lename to
use after the next switch restart. (These are the Configured boot image and Configured boot
configuration les listed in the show boot command’s output.) The restore command does
not affect the running image or the running conguration.
If you want to use the conguration in the boot conguration le restored from an archive
instead of the conguration currently running on the switch, use the load cong command
to load the boot conguration le, or restart the switch. If instead, you want to replace the
conguration restored from the archive with the running conguration, use the save cong
command to save the running conguration to the boot conguration le.
Note: The next time the switch is restarted after the restore command is used, the switch uses
the boot conguration lename that was in use when the archive was created. If you change
the boot conguration lename after creating the archive, the new name is not used when
the switch is restarted. To use the new conguration, use the save cong lename command,
where lename is the name of the boot conguration le restored from the archive, before
you restart the switch. If you have already restarted the switch, use the load cong lename
command to load the new conguration, then use the save cong lename command.
Backup and Restore Examples
The following command creates an archive of the system-critical les and copies the archive
directly to a TFTP server. The lename in this example includes a TFTP server IP address,
so the archive is not stored locally on the switch.
DWS-1008# backup system tftp:/10.10.20.9/sysa_bak critical
success: sent 28263 bytes in 0.324 seconds [ 87231 bytes/sec]
The following command restores system-critical les 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.