04-20-2023 07:11 AM
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.
04-20-2023 07:20 AM
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.
04-20-2023 07:23 AM
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.
04-20-2023 07:33 AM
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.
04-20-2023 07:38 AM
Yes, thank you good point. I will alter the archive config to 5 minutes and see what happens and post the outcome. Thank you.
04-20-2023 07:43 AM - edited 04-20-2023 07:54 AM
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.
04-20-2023 08:22 AM
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
04-20-2023 08:41 AM
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?
04-20-2023 01:19 PM
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.
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