This article provides information on how to backup the initial and user configuration on QFabric.
How to backup the initial and user configuration on Qfabric.
To restore both halves of the system configuration (initial configuration/user configuration), perform the following procedure: After the backup, the initial configuration backup is handled; but for the user configuration, a request system software configuration-restore <path> CLI command needs to be used:
root@qfabric> show configuration ## Last commit: 2012-07-17 10:47:37 UTC by root version "12.2I0 [smandal]"; system { root-authentication { encrypted-password "$ABC123"; ## SECRET-DATA } device-authentication { encrypted-password "$ABC123"; ## SECRET-DATA } } root@qfabric> request system software configuration-backup /tmp/SHRICONFIG [root@dg0 ~]# cd /tmp/ [root@dg0 tmp]# cat SHRICONFIG DG_IP1=10.94.214.80 DG_MASK1=255.255.255.0 DG_GATEWAY1=10.94.214.254 DG_IP2=10.94.214.81 DG_MASK2=255.255.255.0 DG_GATEWAY2=10.94.214.254 DG_IPV6_1= DG_IPV6_2= DG_IPV6_GATEWAY= DCF0=10.94.214.158 MACADDRSTART=00:11:00:00:00:00 MACADDRCOUNT=4000 DG_PASSWORD=ABC123 DEV_PASS_CRYPT=$ABC123 DEV_PASS_KRYPT=$ABC123 FABSERIAL=qfsn-0123456789 PRODUCT_TYPE=QFX3000-G:qfx3000-g:product_category=1 DNS_FORWARDER= -------------------- ## Last commit: 2012-07-17 10:47:37 UTC by root version "12.2I0 [smandal]"; system { root-authentication { encrypted-password "$ABC123"; ## SECRET-DATA } device-authentication { encrypted-password "$ABC123"; ## SECRET-DATA } } [root@dg0 tmp]#
Continue?[y/n] y Initial Configuration
Specify a backup file? [y/n] : y Please specify the full path of the configuration backup file. : /tmp/SHRICONFIG Saving temporary configuration... Configuring peer... Configuring local interfaces... Configuring interface eth0 with [10.94.214.80/24:10.94.214.254] Configured interface eth0 with [10.94.214.80/24:10.94.214.254] MAC pool has already been configured, not re-configuring. Configuring QFabric address [10.94.214.158] Reconfiguring QFabric software static configuration Applying the new Director Device password Not first install initial configuration, not applying QFabric Component password. Not first install initial configuration, only sharing SSH keys. Shared SSH keys. Configuration complete. Director Group services will auto start within 30 seconds .
Specify a backup file? [y/n] : y Please specify the full path of the configuration backup file. : /tmp/SHRICONFIG Saving temporary configuration... Configuring peer... Configuring local interfaces... Configuring interface eth0 with [10.94.214.80/24:10.94.214.254] Configured interface eth0 with [10.94.214.80/24:10.94.214.254] MAC pool has already been configured, not re-configuring. Configuring QFabric address [10.94.214.158] Reconfiguring QFabric software static configuration Applying the new Director Device password Not first install initial configuration, not applying QFabric Component password. Not first install initial configuration, only sharing SSH keys. Shared SSH keys. Configuration complete. Director Group services will auto start within 30 seconds
root@qfabric> show configuration ## Last commit: 2012-07-17 10:56:24 UTC by root version "12.2I0 [smandal]"; system { root-authentication { encrypted-password "$ABC123"; ## SECRET-DATA } device-authentication { encrypted-password "$ABC123"; ## SECRET-DATA } } interfaces { ### SC: THIS IS THE NEW STANZA tor0:xe-0/0/12 { description "Test Me"; } } root@qfabric> request system software configuration-restore /tmp/SHRICONFIG root@qfabric> show configuration ## Last commit: 2012-07-17 10:57:15 UTC by root version "12.2I0 [smandal]"; system { root-authentication { encrypted-password "$ABC123"; ## SECRET-DATA } device-authentication { encrypted-password "$ABC123"; ## SECRET-DATA } }