Archive your IOS configs automaticly

August 3rd, 2008
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.00 out of 5)
Loading ... Loading ...

Many admins spend a great deal of money on management software for the sole reason of getting config backups on a regular basis from their Cisco IOS devices. With this simple setup, you can automate this directly from your device. You can send the config to any number of destinations. Local flash, ftp, tftp, web, etc. For example to write it a ftp server every 7 days and only keep the last 4, use the following:

!
archive
path ftp://10.0.0.1/mysiteA/myrouterA
time-period 10080
maximum 4
!

If you want to add authentication to this transaction, add this to the above:

!
ip ftp username myusername
ip ftp password mypassword
!

Adding the command “write-memory” under archive adds this routine to every manual memory write but should probably not be used with the “maximum” command as you will quickly loose any history.

Tags:

One Response to “Archive your IOS configs automaticly”

  1. shivlu jain Says:

    helps a lot in lab :)

Leave a Reply