09-15-2012 08:53 AM - edited 03-07-2019 08:54 AM
Hi everybody.
I am trying to learn how " archive" feature works.
R1----------------------------tftp
In above set up:
R1 --- 199.199.199.1
tftp----199.199.199.10
I am able to copy running-config to tftp as shown below:
R1#copy running-config tftp
Address or name of remote host []? 199.199.199.10
Destination filename [r1-confg]?
!!
811 bytes copied in 15.008 secs (54 bytes/sec
=========================================
Next I add following config to R1:
R1(config)#archive
R1(config-archive)#path tftp:199.199.199.10 ?
<cr>
R1(config-archive)#path tftp:199.199.199.10
R1(config-archive)#time-period ?
<1-525600> Number of minutes to wait between archive creation
R1(config-archive)#time-period 1
R1(config-archive)#end
Based on the above config,R1 will copy its startup-config to tftp every minute. However, R1 is keeping generating this message:
R1#
%Error opening tftp:///199.199.199.10-1 (Invalid IP address or hostname)
When i use the command " copy running-config tftp " on R1, everything things works fine. R1 is able to copy running config to tftp . But when i used the archive feature, R1 generates a message as shown above.
What did i do wrong ?
thanks and have a great weekend.
Solved! Go to Solution.
09-15-2012 10:05 AM
Hello Sarah,
a // is required after tftp: and before the TFTP server IP address in the path command because it is an URL
see
The following example show how to create the configuration archive, save the running configuration to the archive, and display the files in the archive:
configure terminal ! archive path tftp://10.48.71.226/router-cfg exit exit !
Hope to help
Giuseppe
09-15-2012 10:05 AM
Hello Sarah,
a // is required after tftp: and before the TFTP server IP address in the path command because it is an URL
see
The following example show how to create the configuration archive, save the running configuration to the archive, and display the files in the archive:
configure terminal ! archive path tftp://10.48.71.226/router-cfg exit exit !
Hope to help
Giuseppe
12-20-2013 12:16 AM
I need some more explanation on following commands
Router(config-archive)# ?
Archive configuration commands:
default Set a command to its defaults
exit Exit from archive configuration mode
log Logging commands
maximum Maximum number of backup copies
no Negate a command or set its defaults
path Path for backups
rollback Rollback parameters
time-period Period of time in minutes to automatically archive the running-config
write-memory Enable automatic backup generation during write memory
Router(config-archive)#and also i am enable archive features.. It weas adding the temestamp after every file name..for eg i schedule back for 10 minutes. in name of router-cfg, automatic back up first file was router-cfgDec-20-13.31-12.267 what is this. How it was assuming the name with timestamp.. I need to do like router-cfg 1,2,3 so and so on.. Kindly help with explaing the each commands.. and also if there any automatic restoration tool was available ?
08-07-2018 06:12 PM
path tftp://<ip address>/$h$t.txt
This should do it
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: