Router> < normal login after interface >
Router>enable < Enter privileged mode >
Router#configure Terminal < Enter global configuration mode >
Router (config) #archive < go to archive configuration mode >
Router (config-archive) #path Backup Destination address/Backup build file name < Configure backup file build path, file name >
Router (config-archive) #write-memory < save configuration >
Example: Router (config-archive) #path flash:/ Backup destination path/$h-config < Configure backup files in Flash generation >
Router (config-archive) #path ftp://IP address/$h-config < configuration backup file in FTP generation > (recommended)
Router (config-archive) #write-memory < save configuration >
Where: The URL path of ' $h ' is automatically replaced with the hostname. "$h-config" is the base file name, and the parameters are added automatically after the backup is successful, for example: $h-config-1, $h-config-2 ... $h-config-*, etc. Backup build files support time wildcard characters.
Router (config-archive) #write-memory < save configuration >
Router (config-archive) #time-period backup interval (minutes) < set configuration backup interval time >
Example: Router (config-archive) #time-period 10080 < set backup 1 times every 10,080 minutes (1 weeks) >
Router (config-archive) #exit < exit archiving configuration mode >
Router (config) # (ctrl + Z) < exit global configuration mode >
Router#show Running-config < Check that the configuration parameters are correct >
Router#archive Config < run activation archive configuration parameters >
Where: When you manually activate the backup command, the backup makefile automatically adds a parameter of "-0", such as "$h-config-0".
Router#show Archive < View verify archiving configuration parameters Run Results >
The Cisco iOS profile fallback all commands are as follows:
Router> < normal login after interface >
Router>enable < Enter privileged mode >
Router#show Flash: or dir flash: < View backup file generation time in Flash, view the generation time of the FTP backup file I'm not going to say it. >
Router#configure Replace configuration file backup location < fallback iOS configuration parameters >
Example: router#configure replace ftp://IP address/$h-config-*
Router#show Running-config < Check the configuration parameters for fallback success >
Automated scheduled backup and recovery of Cisco Network devices iOS and configuration files