Explains the auto-save configurations feature for Cisco routers, including its key attributes, functionality, and configurability.
A auto-save configuration is a router backup feature that
-
automatically saves a backup of the running configuration to a specified location after each commit,
-
supports storage both locally on the router and remotely via secure file transfer protocols, and
-
provides flexible parameters for password encryption, file limits, wait-time, and timestamping backups.
The auto-save configurations feature enhances router reliability and disaster recovery by creating consistent, automated backups of all configuration changes. Once enabled, each committed change is saved without manual intervention, protecting against data loss and configuration errors.
Starting with Cisco IOS XR Software Release 7.10.1, auto-save supports public-key authentication for remote configuration backups.
Key configurable attributes:
-
scp and sftp protocols : Save configuration backups to remote servers using Secure Copy Protocol (SCP) or Secure File Transfer Protocol (SFTP). SCP is a secure protocol for general file copying; SFTP is recommended for transferring large files.
-
password : You can save encrypted passwords for both remote and local locations to secure backup file transfers.
-
maximum : Define the maximum number of auto-saved files to retain. Once the limit is reached, older files are overwritten by newer ones. The default is 1, with a maximum limit of 4,294,967,295 files.
-
timestamp : Append a timestamp to each auto-saved file name, using the router’s configured time and timezone. Example:
test_123.autosave.1.ts.Tue_Jan_31_15-15-51_805_IST -
wait-time : Specify the interval to wait before the next auto-save occurs (in days, months, or hours after a commit). Default is zero