configuring NTP server on a router

Answered Question
Aug 25th, 2008

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

I have this problem too.
0 votes
Correct Answer by Richard Burts about 8 years 3 months ago

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

Correct Answer by Joe Clarke about 8 years 3 months ago

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 .

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Correct Answer
Richard Burts Tue, 08/26/2008 - 03:14

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

Actions

This Discussion