Wednesday, May 9, 2012

Auto configuration backup in FTP

Hi all, below is the guide to do auto configuration backup to FTP using Kron Policy.

archive
 log config
  hidekeys
 path ftp:/x.x.x.x/router_show_run
!

ip ftp username "ftp_username"
ip ftp password "ftp_password"
!

kron policy-list Backup_config    # Define Kron Policy
 cli archive config                         # Tell Kron Policy what to do. In here it will do command "
!
kron occurrence Every_week at 14:32 Fri recurring   # Define when to run Kron Policy,
 policy-list Backup_config                                           # Define which policy to follow the occurrence
!

Make sure router sync with NTP server and router clock running correctly.

No comments:

Post a Comment