02-07-2024
11:26 PM
- last edited on
02-08-2024
03:27 AM
by
shazubai
Hi,
I have a "C1000-16FP-2G-L (15.2(7)E9)" device, I have enabled automatic config archive creation, but it gives the wrong time when naming. For example: While the time of my device is "10:15:19.801 +3 Thu Feb 8 2024", the name written in the archive file is "archive-Feb--8-07-15-12.324-3"
I set the device to GMT+3, but the archive config name is GMT+0.
Thanks in advance for your answers.
02-08-2024 12:22 AM
Not sure if this might help but worth a try
service timestamps log datetime localtime show-timezone
02-08-2024 12:37 AM
"service timestamps log datetime localtime"
The command here worked for me, thank you.
05-19-2024 05:42 AM
Looks like you're facing a time zone issue with your Cisco device's automatic config archive creation. Your device is set to GMT+3, but the archive file names are showing GMT+0. That can be quite confusing!
One user suggested a possible fix: using the command "service timestamps log datetime localtime show-timezone". It might just do the trick! Give it a shot and see if it syncs up the archive file names with your device's time zone.
check these resources
https://community.cisco.com/t5/wireless/archive-command-question/td-p/1744341
https://community.cisco.com/t5/switching/multiple-archive/td-p/1983519= https://zarchiverapk.com/
https://community.cisco.com/t5/network-management/archive-tftp/td-p/1471845
https://community.cisco.com/t5/routing/archive-to-tftp/td-p/4818656
If you need more help, feel free to reach out. And hey, if this solution works for you, don't forget to mark it as helpful or accepted. Let's keep engineering easy, right?
Cheers!
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