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 certicates
on the switch.
Managing Conguration Changes
The backup command places the boot conguration le into the archive. (The boot
conguration le is the Configured boot configuration in the show boot command’s output.)
If the running conguration contains changes that have not been saved, these changes are
not in the boot conguration le and are not archived. To make sure the archive contains the
conguration that is currently running on the switch, use the save cong command to save
the running conguration to the boot conguration le, before using the backup command.
The restore command replaces the boot conguration on the switch with the one in the
archive. The boot conguration includes the conguration 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 conguration.
If you want to use the conguration in the boot conguration le restored from an archive
instead of the conguration currently running on the switch, use the load cong command
to load the boot conguration le, or restart the switch. If instead, you want to replace the
conguration restored from the archive with the running conguration, use the save cong
command to save the running conguration to the boot conguration le.
Note: The next time the switch is restarted after the restore command is used, the switch uses
the boot conguration lename that was in use when the archive was created. If you change
the boot conguration lename after creating the archive, the new name is not used when
the switch is restarted. To use the new conguration, use the save cong lename command,
where lename is the name of the boot conguration le restored from the archive, before
you restart the switch. If you have already restarted the switch, use the load cong lename
command to load the new conguration, then use the save cong 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.