09-07-2011 02:25 AM - edited 03-07-2019 02:05 AM
Hi,
Can anybody please advise on the configuration for the clock on these 2960 S switches?
We have used:
clock timezone GMT 0
clock summert-time bst recurring
When you do 'Show Log' the clock is an hour behind. When you do 'Show Clock' it shows the right time.
We tried:
clock timezone GMT 0
clock summer-time BST recurring last Sun Mar 1:00 last Sun Oct 1:00
and again when you do 'Show Log' it is an hour behind, although it acknowledges the config change:
Sep 7 09:15:06: %SYS-6-CLOCKUPDATE: System clock has been updated from 10:15:06 bst wed Sep 7 2011 to 10:15:06 BST Wed Sep 7 2011, configured from console by.......
How do you get the log to reflect the real time?
TIA
Trish.
Solved! Go to Solution.
09-07-2011 02:32 AM
clock timezone GMT 0
Change the "0" value you have to the correct timezone. For example, for Australia we use "clock timezone AEST 10" because we are +10 from GMT.
Another thing is the following lines:
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone
09-07-2011 02:31 AM
What have you got set in your service timestamps log command?
There is a show-timezone option that may help you - you may also need the localtime option as I think by default it will use UTC
09-07-2011 02:55 AM
James,
we have:
service timestamps debug uptime
service timestamps log datetime
09-07-2011 02:32 AM
clock timezone GMT 0
Change the "0" value you have to the correct timezone. For example, for Australia we use "clock timezone AEST 10" because we are +10 from GMT.
Another thing is the following lines:
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone
09-07-2011 02:41 AM
leolaohoo,
I should have stated, we are in the UK :-)
09-07-2011 03:01 AM
Thanks for the ratings.
09-07-2011 03:06 AM
You're welcome! Thank you for your help
09-07-2011 03:10 AM
I'm happy to be of some form of assistance.
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