Professional Documents
Culture Documents
Automated
Configuration Backup
Document
Contents
Overview.................................................................................................................................................3
1- Install TFTP Server in Windows to receive backup files from devices..................................................3
2 – Add Backup Schedule Job / Task on Cisco Switches...........................................................................3
(for specific day and time, use following:................................................................................................4
To run task every 2 minute......................................................................................................................4
Overview
This document can be very helpful to export and backup the config file to an external location for safe keeping.
Download & install Solarwind free TFTP Server application. Its quite and simple application which can receive
backups from your switches/routers/devices and store them in c:\tftp-root folder (default location, you can
change it)
At Cisco switch issue following command to test if TFTP is working fine. Your switch must be able to
ping/communicate with the tftp server. Login tot switch via terminal or ssh and issue this command to test
the TFTP connectivity from switch to tftp server …
1 en
2 show running-config | redirect tftp://10.0.0.1/cisco_sw/sw_10.0.0.20.txt
Note: I create new folder name cisco_sw so that all switches configurations should store in a separate folder
for easy identification.
Network Details:
1. TFTP SERVER IN WINDOWS IP : 10.0.0.1
2. SWITCH IP : 10.0.0.20
Use following commands to add schedule task to run backup daily in midnight
1 en
2 conf t
3 kron policy-list daily-backup
4 cli show startup-config | redirect tftp://10.0.0.10/cisco_sw/sw_10.0.0.20.txt
5 exit
6 kron occurrence daily-backup at 00:00 recurring
7 policy-list daily-backup
8 exit
9 wr
Verify the kron configuration by using the show command.
1 show kron schedule
Result:
1 Kron Occurrence Schedule
2 daily-backup inactive, will run again in 0 days 12:58:04 at 0 :00 on
End Result:
Tips: