Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Changing time

As we are changing the clock in the UK, how can I check if the UK Switches will automatically change time?

We have the switches pointing to NTP Servers

5 REPLIES
Hall of Fame Super Silver

Re: Changing time

Ade

It certainly is best practice to have your switches pointing to NTP servers. This assures that they will learn accurate time.

But using NTP does not have anything to do with changing the clock. NTP communicates time as UTC (used to be called GMT) into all time zones without any allowance for local time zone or offset to daylight savings. It is up to the local device to offset from UTC to derive the local time.

The IOS has a configuration option to make the offset for local time zone (the clock timezone command) and a configuration option for daylight savings (the clock summer-time command). If you want to check whether your switches will automatically change time then do show clock detail. (adding the detail parameter will cause the switch to show when it will change time for summer/daylight savings).

HTH

Rick

Re: Changing time

Do this config and it will all be automatic:

clock timezone GMT 0

clock summer-time BST recurring last Sun Mar 2:00 last Sun Oct 3:00

Kevin Dorrell

Luxembourg

New Member

Re: Changing time

Thanks

SO if I do a

sh clock

16:49:20.602 BST Fri Oct 26 2007

This shows that the BST time ise set?

Thanks

Hall of Fame Super Silver

Re: Changing time

Ade

The show clock command as you have it here will simply show what time the switch believes that it is (with whatever offsets have been configured) and does not tell you whether (or when) it will change the clock for daylight savings. To see the additional information try using the "show clock detail" command.

HTH

Rick

Re: Changing time

Be careful, you would get the same result with

clock timezone BST 1

... until the early hours of Sunday morning ...

Kevin Dorrell

Luxembourg

331
Views
0
Helpful
5
Replies