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 files onto another switch, you must generate new key pairs and certificates
on the switch.
Managing Configuration Changes
The
backup
command places the boot configuration file into the archive. (The boot
configuration file is the
Configured boot configuration
in the
show boot
command’s output.)
If the running configuration contains changes that have not been saved, these changes are
not in the boot configuration file and are not archived. To make sure the archive contains the
configuration that is currently running on the switch, use the
save config
command to save
the running configuration to the boot configuration file, before using the
backup
command.
The
restore
command replaces the boot configuration on the switch with the one in the
archive. The boot configuration includes the configuration filename and the image filename to
use after the next switch restart. (These are the
Configured boot image
and
Configured boot
configuration
files listed in the
show boot
command’s output.) The
restore
command does
not affect the running image or the running configuration.
If you want to use the configuration in the boot configuration file restored from an archive
instead of the configuration currently running on the switch, use the
load config
command
to load the boot configuration file, or restart the switch. If instead, you want to replace the
configuration restored from the archive with the running configuration, use the
save config
command to save the running configuration to the boot configuration file.
Note:
The next time the switch is restarted after the
restore
command is used, the switch uses
the boot configuration filename that was in use when the archive was created. If you change
the boot configuration filename after creating the archive, the new name is not used when
the switch is restarted. To use the new configuration, use the
save config
filename
command,
where
filename
is the name of the boot configuration file restored from the archive, before
you restart the switch. If you have already restarted the switch, use the
load config
filename
command to load the new configuration, then use the
save config
filename
command.
Backup and Restore Examples
The following command creates an archive of the system-critical files and copies the archive
directly to a TFTP server. The filename 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 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.
Summary of Contents for DWS-1008
Page 1: ......