Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×
  • entries
    14
  • comments
    21
  • views
    283

Automatic Cisco Switch Backup


This will guide you through how to configure your Cisco switches to save and backup their configuration automatically. The backup occurs at 8pm every day and every time the running configuration is saved.

 

Setup a TFTP server

 

You will need to setup a TFTP server if you don't already have one. I use TFTP32 and install it as a service so it automatically launches when the server is booted.

 

Ensure your switch time is correctly set.

 

To ensure your switch is performing the backup to the correct schedule you need to ensure the time is correct on the switch.

Command to view the switch time

 

Show Clock

Command to set the switch to use an NTP server (Change to the IP of your preferred NTP server)

 

NTP Server 10.10.10.10

 

Command to set your switch to observe British day light saving.

clock summer-time BST recurring last Sun Mar 23:00 last Sun Oct 23:00

 

Backup commands

 

Change the IP address to your TFTP server and copy and paste the below into your switch. This will perform the backup every day at 8pm and every time the configuration is saved. You can change the time if you wish.

 

 

conf t

archive

path tftp://10.115.192.16/$h-$t

write-memory

exit

 

kron policy-list BACKUP

cli write memory

exit

kron occurrence BACKUP at 20:00 recurring

policy-list BACKUP

end

Edited by FN-GM

0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...