Feb 062014
 

Do you want to keep track of changes on your Cisco device? Did you know that you can schedule automated backups? I will tell you how to enable them :)

On the Cisco device, enable “archiving” and configure it to write every 12 hours and on each “write” (“copy run start“):

en
conf t
archive
path tftp://10.10.10.10/
write-memory
time-period 720
exit
exit
write

You can check the status using “show archive”.

On the server side you need to have a TFTP daemon running. For debian based systems you would simple create a directory, lets say /tftp/ and install the server:

apt-get install tftpd-hpa
vim /etc/default/tftpd-hpa

Here is my sample config

# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure --create --listen --verbose"

chmod -R 777 /tftp/
chown -R tftp:tftp /tftp/

/etc/init.d/tftpd-hpa restart 

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)