Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Configuration copy to TFTP Auto

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

2 REPLIES
Blue

Re: Configuration copy to TFTP Auto

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

archive

log 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

Configuration copy to TFTP Auto

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)

956
Views
0
Helpful
2
Replies
CreatePlease login to create content