08-25-2008 03:03 PM
Hi,
We would like to synchronize a Cisco router's clock with Network Time Protocol (NTP). I managed to find the following command.
Router(config)# ntp server <IP address of NTP Server>
1. How do you set timezone Pacific -8?
2. How do you set Daylight Savings Time?
Thanks.
Said
Solved! Go to Solution.
08-25-2008 06:45 PM
clock timezone PST -8
clock summer-time PDT recurring
This assumes your router's IOS is new enough to have the recent US timezone fixes. If not, see http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00807ca437.shtml .
08-26-2008 03:14 AM
Said
Joe has given the correct commands for setting the timezone and for daylight savings time. Note that timezones and daylight savings operate entirely separately from NTP. NTP always uses UTC (Universal Coordinated Time) to communicate and set time and NTP has no concept of timezone or of daylight savings. Setting the timezone and daylight savings is entirely a local function on the router. So your router may be in one time zone and the NTP server may be in a different time zone without creating any problem.
HTH
Rick
08-25-2008 06:45 PM
clock timezone PST -8
clock summer-time PDT recurring
This assumes your router's IOS is new enough to have the recent US timezone fixes. If not, see http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00807ca437.shtml .
08-26-2008 03:14 AM
Said
Joe has given the correct commands for setting the timezone and for daylight savings time. Note that timezones and daylight savings operate entirely separately from NTP. NTP always uses UTC (Universal Coordinated Time) to communicate and set time and NTP has no concept of timezone or of daylight savings. Setting the timezone and daylight savings is entirely a local function on the router. So your router may be in one time zone and the NTP server may be in a different time zone without creating any problem.
HTH
Rick
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: