Nortel Networks 2300 Switch User Manual


 
664 Managing system files
NN47250-500 (320657-F Version 02.01)
The backup command stores the MAC address of the switch in the archive. By default, the restore command works
only if the MAC address in the archive matches the MAC address of the switch where the restore command is entered.
The force option overrides this restriction and allows you to unpack one switch’s archive onto another 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.
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.
WSS# backup system tftp:/10.10.20.9/sysa_bak critical
success: sent 28263 bytes in 0.324 seconds [ 87231 bytes/sec]
Caution! Do not use the force option unless advised to do so by Nortel TAC. If you
restore one switch’s system files onto another switch, you must generate new key pairs
and certificates on the switch.
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.