cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1443
Views
0
Helpful
2
Replies

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 2

yjdabear
VIP Alumni
VIP Alumni

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

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)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: