3Com WX2200 3CRWX220095A Switch User Manual


 
Backing Up and Restoring the System 615
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
display 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 display 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.
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.
WX1200# backup system tftp:/10.10.20.9/sysa_bak critical
success: sent 28263 bytes in 0.324 seconds [ 87231 bytes/sec]