Tuesday, March 26, 2019

Extreme (Avaya) VSP Switch - How to backup and restore configuration in VOSS


You may want to back up your configuration before upgrading your VSP switches. Here are backup and restore procedures in VOSS.

* Related posts:
Extreme Switch - How to backup/restore configuration in EXOS
Extreme (formerly, Avaya) VSP Switches - Software Upgrades

※ NOTE: For configuration Backup/Restore and Upgrade, RWA user is required.

  • Back-up Procedure:


▶ Backup your existing configuration

Copy the existing configuration file from the VSP to the TFTP or FTP server.

vsp-8404c_1:1#copy config.cfg 192.168.1.2:vsp-8404c_1_03.27.2019.cfg


You may copy existing configuration file in the Internal Flash:

vsp-8404c_1:1#copy /intflash/config.cfg /intflash/config_02.05.2020.cfg

vsp-8404c_1:1#ls /intflash
Listing Directory /intflash:
drwxr-xr-x 26 0       0           8192 Feb  6 06:12  ./
drwxr-xr-x  4 0       0           4096 Oct  4  2018  ../
-rw-------  1 0       0            122 Mar 29  2019  .00000-11111.enc
drwxr-xr-x 13 0       0           4096 Mar 17  2019  .cert/
-rw-------  1 0       0              0 Feb  5 14:43  .fa_md5key.txt
-rw-------  1 0       0              0 Feb  5 14:43  .ike_psk.txt
-rw-------  1 0       0              0 Feb  5 14:43  .isis_md5key.txt
-rw-------  1 0       0              0 Feb  5 14:43  .isis_sha2key.txt
-rw-------  1 0       0              0 Feb  5 14:43  .isis_simplekey.txt
-rw-r--r--  1 0       0             21 Aug 10  2019  .lcr_sysinfo.txt
-rw-------  1 0       0            105 Jan 15 14:41  .multipleusers.txt
-rw-------  1 0       0            355 Jan 15 14:41  .shadovnonfedmoc.txt
drwxr-xr-x  2 0       0           4096 Mar 17  2019  .ssh/
d---------  5 0       0           4096 Dec 10  2018  .sys/
drwxr-xr-x  3 0       0           4096 Dec 10  2018  PMEM/
-rw-r--r--  1 0       0      218989797 Mar 28  2019  VOSS8K.8.0.0.0.tgz
-rw-r--r--  1 0       0      213950279 Aug 10  2019  VOSS8K.8.0.5.1.tgz
-rw-------  1 0       0          28259 Oct 31  2019  alarmLog
drwxr-xr-x  3 0       0           4096 Dec 10  2018  app/
drwxr-xr-x  3 0       0           4096 Dec 10  2018  archive/
drwxr-xr-x  3 0       0           4096 Dec 10  2018  archive_temp/
-rw-r--r--  1 0       0            176 Feb  5 14:44  backupCfgFileList.txt

drwxr-xr-x  2 0       0           4096 Aug 10  2019  bootlog/
drwxr-xr-x  2 0       0           4096 Dec 10  2018  config/
-rw-r--r--  1 0       0           5266 Feb  5 14:44  config-xmc.tgz
-rwx------  1 0       0          23147 Feb  5 14:43  config.cfg
-rwx------  1 0       0          23147 Feb  6 06:12  config_02.05.2020.cfg


You may copy the configuration file from Internal Flash to USB:
vsp-8404c_1:1#copy /intflash/config_02.05.2020.cfg /usb/config_02.05.2020.cfg


  • Restore Procedure:


Step 1. Restore the backup configuration

Copy the backup configuration file from the TFTP or FTP server to the Internal Flash.

vsp-8404c_1:1#copy 192.168.1.2:vsp-8404c_1_03.27.2019.cfg /intflash/vsp-8404c_1_03.27.2019.cfg


Command to restore the configuration from Internal Flash:

vsp-8404c_1:1#copy intflash/vsp-8404c_1_03.27.2019.cfg /intflash/config.cfg


Step 2. Set the config as the primary configuration.

When you restart the system, you can specify the boot config file name. If you do not specify a boot source and file, the boot command uses the configuration files on the primary boot device defined by the boot config choice command.

※ Important: If you enter the boot command with no arguments, you cause the switch to start using the current boot choices defined by the boot config choice command. If you enter a boot command and the configuration file name without the directory, the device uses the configuration file from /intflash/.


vsp-8404c_1:1#boot config choice /intflash/config.cfg

vsp-8404c_1:1#Do you want to continue? (y/n)y


The following command shows the current boot configuration choices.

vsp-8404c_1:1#show boot config choice
************************************************************************************
Command Execution Time: Thu Feb 06 06:23:58 2020 GMT
************************************************************************************
choice primary config-file "/intflash/config.cfg"
choice primary backup-config-file "/intflash/config.cfg"



No comments: