12-12-2001 05:40 AM - edited 03-01-2019 07:43 PM
I have several 3524XL switches that I am having trouble getting the date and time to save. I use the CLI with the 'clock' command (ie, 'clock set 13:30:00 Dec 12 2001'). Do I need a time zone reference in there somewhere? When I do a "sh clock" the time and date are correct but if the switch goes through a power cycle, the time and date revert back to a default setting that has a date of 1993. This happens even if I have done a 'wr mem' before the power cycle. What am I missing in my CLI entries to make it save this date and time?
Thanks
12-12-2001 05:49 AM
Jeff,
On any IOS device router or switch it looses time and date on power-cycle. That's why you better make use of a NTP server that will distribute the correct time to all devices that support NTP.
With this you can collect the right time from the Internet or from an atom clock.
Regards, Maarten.
12-12-2001 08:58 AM
Only the 7000 or greater routers retain the clock over a power cycle. Consider letting NTP thru your firewall and having the network provide clock.
12-12-2001 09:30 AM
Thanks for the advice everyone, I did not realize that it was normal when not using NTP.
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