cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2377
Views
0
Helpful
8
Replies

Archive to TFTP

pbiggs
Level 1
Level 1

I was wondering if anyone had information regarding archive to TFTP? I have set this up on all my Cisco routers and switches and scheduled this to happen monthly or if we write a configuration change. If we write a config change the file received by the TFTP server is fine but the scheduled config copy is sometimes just an empty file. Any Idea why this is happening? I will include my archive configuration below and the TFTP server we are using is Solarwinds. The file types also appear on the TFTP server as different types i.e. 429-0, 304-2, 484-0 etc.. Thank you in advance for your assistance. 

 

archive
log config
  logging enable
  hidekeys
path tftp://10.13.200.56/$h-
write-memory
time-period 43200
 
 

 

8 Replies 8

Hi

 One hypotese would be the device is logging only configuration change even when you scheduled the month schedule and that month no configuration was changed. This would cause the file to be empt.

 

That was my original thought as well but I was not sure. I wanted to reach out to see if anyone knew for sure that this was the reason. Thank you for your response. 

I think you can test it. Instead of schedule to a month, schedule for like 5 or 10 minutes. Then, do nothing on the switch and see if the file come up empty. Then, repeat the process but this time change something on the device, like an interface description or the hostname and see if in the next schedule you do not receive an empty file.

 This way you can prove if it is a problem or a normal behavior.

Yes, thank you good point. I will alter the archive config to 5 minutes and see what happens and post the outcome. Thank you. 

Can I see 

Show archive 

With and without change the archive must contain config' which later you can use it as checkpoint to restore old config.

Okay so I changed the archive to one minute and all files were populated with the devices config. I changed it back to monthly prior to seeing your request but here is the current show archive output.

The maximum archive configurations allowed is 14.
The next archive file will be named tftp://10.13.200.56/Lak_2811--<timestamp>-1
Archive # Name
1 tftp://10.13.200.56/Lak_2811-Apr-20-15-17-52.572-0 <- Most Recent
2
3
4
5
6
7
8
9
10

 

It seem that the achieve not save any file' this file show is new' it for today.

Now can you check tftp server and check name file appear and see if it empty or not?

Sorry for the delay we were offsite for a good part of the day. Not sure what you mean. I did notice we rebooted the off site location and its showing a blank config in tftp. This may be why they are blank. We had a few power outages which lasted quite a while and when the devices returned they may be sending a blank config for some reason. The devices have their configs but are up but for whatever reason this is happening when the device sends the file via tftp. Possibly just a glitch? Not sure.