Configure Backup and Replay

Procedure

  1. Enable periodic config-backup.
    # efa inventory device setting update --ip 10.24.14.133 --config-backup-periodic-enable yes
  2. 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
  3. 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>
  4. Optional: Delete config-backup.
    # efa inventory config-backup delete --key 10.24.14.133
    # efa inventory config-backup delete --key 1111-1111-111
  5. 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

    Note

    The startup-config backup restore method requires device reboot to restore the configuration.
  6. 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
  7. Configure device replay using running-config.
    # efa inventory config-replay execute --ip 10.24.14.133 –-uuid 1111-1111-111
  8. View config-replay history.
    # efa inventory config-replay history --ip 10.24.14.133
    # efa inventory config-replay detail –-uuid 1111-1111-1111
  9. Optional: Delete config-replay.
    # efa inventory config-replay delete --key 10.24.14.133
    # efa inventory config-replay delete --key 1111-1111-111