Ganesh Hariharan Tue, 02/23/2010 - 03:13
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Member's Choice, February 2016

Hii,


Can anybody tell me how to use the archive command in to save routers and switch configuration in tftp server in a cretin time (daily or weekly  ...)


Hi,


Check out the link below for kron policy configuration for scehdular backup on cisco devices hope that help


http://www.configureterminal.com/free/kron.html


If helpful do rate the post


Ganesh.H

Sybren.Apiecionek_2 Tue, 02/23/2010 - 05:03
User Badges:

amarmn1975


for weekly backup, your config should be:


ip tftp source-interface "fill_in_interface"


The archiving commands are:


archive
log config
  logging enable
  logging size 200
(<= This is the number of "comands issued by user X" that is saved in memory (if you use AAA, you can trace who changed what))
path tftp://IP_address/filename.txt
write-memory
(<= The config is saved to the tftp server if you perform a "write memory" or a "copy run start")
time-period 10800
(<= 10800 saves your config weekly, this is good enough if your network doesn't change daily).


but I prefer to use FTP as you can protect it with a username/password, if you use FTP it will look like:


ip ftp source-interface "fill_in_interface"

ip ftp username "username"

ip ftp password "password"

service password-encryption


archive
  log config
   logging enable
   logging size 200
(<= This is the number of "last comands issued by user X" is saved in memory (if you use AAA, you can trace who changed what))
  path ftp://IP_address/filename.txt
  write-memory
(<= The config is saved to the tftp server if you use a "write memory" or a "copy run start")
  time-period 10800
(<= 10800 saves your config weekly, this is good enough if your network doesn't change daily).


HTH

Sybren.Apiecionek_2 Tue, 02/23/2010 - 05:08
User Badges:

Milan


as you can see: I prefer to use time-priod & write-memory both in my config.

In case your collegue "forgets" to save the config, it is at least saved weekly :-)


Grt

S

milan.kulik Tue, 02/23/2010 - 05:49
User Badges:
  • Red, 2250 points or more

Hi,


yes, I understand.

But then you've got many config copies with no change in fact.

Each solution has pros and cons :-)


BR,

Milan

Actions

This Discussion