I'm having a problem with the ntp time passed on to a number of routers/switches in the LAN after day light saving started two weeks ago here in sydney.
The following is the configuration and the time on the router acting as ntp server,
router LAN IP address: 10.1.1.253
ntp clock-period 17208294
ntp server 22.214.171.124
ntp server 126.96.36.199 prefer
rt#sh clock detail
17:49:37.407 AEST Mon Oct 20 2008
Time source is NTP
Summer time starts 03:00:00 AEDT Sun Oct 5 2008
Summer time ends 03:00:00 AEST Sun Apr 5 2009
This is the configuration on the router, which time is incorrect,
ntp clock-period 17180360
ntp source Vlan100
ntp server 10.1.1.253
rt1#sh clock detail
16:50:27.538 AEST Mon Oct 20 2008
Time source is NTP
Summer time starts 02:00:00 AEST Sun Oct 26 2008
Summer time ends 02:00:00 AEST Sun Mar 29 2009
As you can notice the switch with the incorrect switch is one hour behind now.
Can any help or point me in the right direction as how can i get the time synchronised between the two?
As M. points out the issue here is really not with NTP but is with the adjustment for daylight savings which is done by the local device. NTP always passes the time in UTC (GMT) and the local device makes the adjustments to Universal Coordinated Time to fit the local situation.
The issue really is that the devices are running different versions of code, and that Cisco made a change in the dates for the implementation of daylight savings time. The solution to your issue (until you can get both devices running the same version of code) is that there is an optional set of parameters in the clock summer-time command in which you can specify what dates the device should use. So you can get the incorrect device to use the same dates as the correct device and then they both will be the same.
As you see from show clock detail your summer times are different and because today is 20th Oct on one only one device is summer time
check in you run configuration
Those should match on both devices