Configure Backup and Replay
Procedure
-
Enable periodic
config-backup.
# efa inventory device setting update --ip 10.24.14.133 --config-backup-periodic-enable yes
-
Configure device backup.
efa inventory device setting update --ip 10.24.14.133 --config-backup-interval 30m [3m-1800m, default 1440m] # efa inventory device setting update --ip 10.24.14.133 -–number-of-config-backups 2 [2-20, default 4] # efa inventory config-backup execute --ip 10.24.14.133
-
View config-backup
history.
# efa inventory config-backup history --ip 10.24.14.133 # efa inventory config-backup detail –-uuid 1111-1111-1111 --show-config # efa inventory config-backup detail –-uuid 1111-1111-1111 --show-config -–file-dump <filename>
- Optional:
Delete config-backup.
# efa inventory config-backup delete --key 10.24.14.133 # efa inventory config-backup delete --key 1111-1111-111
-
Determine the backup restore
method:
- To restore backup using the startup-config file, proceed to the next step.
- To restore backup using the running-config file, go to Step 7.
Note
The startup-config backup restore method requires device reboot to restore the configuration. -
Configure device replay using
the appropriate command.
- Config-replay without rebooting the
device:
# efa inventory config-replay execute --ip 10.24.14.133 --uuid 1111-1111-111 --startup-config --no-reboot
- Config-replay with device
reboot:
# efa inventory config-replay execute --ip 10.24.14.133 --uuid 1111-1111-111 --startup-config
- Config-replay without rebooting the
device:
-
Configure device replay using
running-config.
# efa inventory config-replay execute --ip 10.24.14.133 –-uuid 1111-1111-111
-
View config-replay history.
# efa inventory config-replay history --ip 10.24.14.133 # efa inventory config-replay detail –-uuid 1111-1111-1111
- Optional:
Delete config-replay.
# efa inventory config-replay delete --key 10.24.14.133 # efa inventory config-replay delete --key 1111-1111-111