10-01-2003 04:25 AM - edited 03-02-2019 10:42 AM
We are using a NTP server for our cisco switches. All our switches have the same time when we check with sh clock. NTP works fine it seems. But if we check the log file (sh logging), all events are having a time 2 hours earlier than the time we received from the NTP server. How come? And how to fix this so that time in logging events will become the same time as from the NTP?
Thanks in advance for your replies.
Kind Regards,
Harry Gorter
10-01-2003 05:25 AM
Hi,
use
service timestamps log datetime msec localtime
command in your configs.
It will put your local time stamps to syslog.
You can also configure your local time shift from NTP received time using
clock timezone ....
clock summer-time .....
commands.
Regards,
Milan
10-01-2003 05:44 AM
Thanks a lot for your reply Milan.
Will try this solution.
Kind regards,
Harry Gorter
10-01-2003 11:39 PM
Can you explain me how I can configure NTP on a network with different Routers and switches.
Regards.
10-02-2003 01:25 AM
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