Cisco Cisco IOS Profile automatic backup and fallback

Source: Internet
Author: User
Tags exit config ftp backup

Automatic backup and fallback of Cisco iOS profiles requires the use of the Archive Archive configuration mode feature of iOS. In general, only the version number of iOS has the Archive configuration mode feature in 12.3 (4) < with > and beyond.

Cisco iOS profile automatic backup All commands are as follows:

router> < normal login interface >

Router>enable < access privileged mode >

Router#configure Terminal < into global configuration mode >

Router (config) #archive < Enter archive configuration mode >

Router (config-archive) #write-memory < save configuration >

Router (config-archive) #path Backup Destination address/Backup build file name < Configure backup file build path, filename >

Example: Router (config-archive) #path flash:/ Backup target path/$h-config < Configure backup files in Flash build >

Router (config-archive) #path ftp://IP address/$h-config < Configure backup files in FTP generation > (recommended)

Where: The URL path of ' $h ' is automatically replaced with the hostname. $h-config is the base file name, and parameters are automatically added after the backup succeeds, such as $h-config-1, $h-config-2 ... $h-config-*, etc. Backup generation file support time wildcard.

Router (config-archive) #write-memory < save configuration >

Router (config-archive) #time-period backup interval (minutes) < set up Configure backup interval time >

Example: Router (config-archive) #time-period 10080 < settings are backed up 1 times every 10,080 minutes (1 weeks) >

Router (config-archive) #exit < Exit archive 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 the backup command is manually activated, the backup generation file automatically adds a parameter of "-0", such as "$h-config-0".

Router#show Archive < View verify archive configuration parameters Run results >

Cisco iOS profile fallback all commands are as follows:

router> < normal login interface >

Router>enable < access privileged mode >

Router#show Flash: or dir flash: < View backup file generation time in Flash, view the generation time of FTP backup files I don't have to tell you. >

Router#configure Replace profile backup location < fallback iOS configuration parameters >

Example: router#configure replace ftp://IP address/$h-config-*

Router#show Running-config < Check that the configuration parameters are rolled back successfully >

Source: http://netlin.blog.51cto.com/118225/947310

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.