01-11-2012 10:52 AM
Hello,
I am using multiple cisco 2811, 3745 routers and 2950,3550 switches if I need to copy running configuration I have to go to each device and say copy run tftp: <address>
Is here any way that automatically by schedule one a week or a month configuration copy from all devices to tftp server?
Thanks
Tamim
01-11-2012 12:28 PM
If these devices are running an IOS supporting the "archive" command, you can schedule it weekly as follows (some of the settings are optional):
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080120f48.shtml
archivelog config
record rc
logging enable logging size 50 notify syslog contenttype plaintext
hidekeys
path tftp://yourTFTPserver/path/$h__$t.cfg
ftp://IP.IP.IP.IP/path/$h__$t.cfgmaximum 12 time-period 10080 write-memory
01-12-2012 12:06 AM
I think this command you send me is for getting configuration file from TFTP server to Router, but I am looking for something that copy configuration from router to tftp server.
By the way I did same configuration as you said. But I got error.
archive
log config
logging enable
logging size 50
notify syslog
hidekeys
path tftp://10.10.10.2/$h_$t.cfg
write-memory
time-period 2
!
Here result after I said wr
TEL_OFFICE#wr
Building configuration...
[OK]
TFTP: error code 1 received - 20577
%Error opening tftp://10.10.10.2/TEL_OFFICE_-Jan-12-07:57:55.747.cfg-1 (No such file or directory)
===============================================
If I do through command it is working.
TEL_OFFICE#copy run tftp:
Address or name of remote host []? 10.10.10.2
Destination filename [el_office-confg]?
!!
1095 bytes copied in 0.400 secs (2738 bytes/sec)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide