Automated scheduled backup and recovery of Cisco Network devices iOS and configuration files

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.