Posted by: Mudassir Ali | May 21, 2010

Periodical Configuration Save of Cisco Devices

Periodical Configuration Save of Cisco Devices

Periodical configuration save of Cisco devices can be done from inside the device by using a combination of “kron” and “archive” commands. I usually place the backup on a network path.

 Define the location of your configuration save apart from the default Flash location. Based on your IOS support, this can be a HTTP, HTTPS, FTP, or TFTP path. I include the device name and the timestamp:


   path tftp://$h-$t
   write memory

 Define the policy list for the scheduler. The following is calling the “write config” command which will trigger the copy over network from the above:

kron policy-list backup-config
  cli write memory

 Define the schedule of the policy. The following example is for five minutes past midnight, everyday:

 kron occurrence daily-config-backup at 0:05 recurring

   policy-list backup-config

 Note: Every time the “write memory” command is issued, the device will trigger a network copy to the path specified above.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: