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

configuring NTP server on a router

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

2 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

Re: configuring NTP server on a router

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 .

Hall of Fame Super Silver

Re: configuring NTP server on a router

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

2 REPLIES
Cisco Employee

Re: configuring NTP server on a router

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 .

Hall of Fame Super Silver

Re: configuring NTP server on a router

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

414
Views
5
Helpful
2
Replies