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

NTP Server

Hi

How do i configure my router to act as a NTP server so that all my xp workstation are able to get the time from this ntp server. And also this ntp server will get the time from the external source.

I have a cisco 1720 router with ADSL connection to the internet

Thanks

6 REPLIES

Re: NTP Server

Hi,

To configure a Cisco router as an authoritative NTP server use this command:

ntp master [stratum level]

HTH, please do rate all helpful replies,

Mohammed Mahmoud.

Hall of Fame Super Silver

Re: NTP Server

Mohammed

While the ntp master command is the correct way to make a device into an authoritative NTP server, the question indicated that the router would be learning NTP from some external source. In this case it is not necessary (and I would say not wise considering that it is a 1720) to use ntp master on it. If the router is configured with ntp server then it will learn time and will automatically function as an authoritative source of NTP to the clients within the network.

HTH

Rick

Re: NTP Server

Rick,

As far as i knew, a cisco router needs "ntp master" to be an authoritative source of NTP.

BR,

Mohammed Mahmoud.

Hall of Fame Super Silver

Re: NTP Server

Mohammed

That is not the case. I have configured many routers with ntp server to learn NTP and they then serve time to other clients without needing the ntp master command.

To serve NTP to clients a router needs either to have learned time from an authoritative source OR to be configured with ntp master.

HTH

Rick

Re: NTP Server

Hi Rick,

Tested in the lab, and agreed :)

Just "ntp server x.x.x.x", and i made it a server for the next router and it worked.

BR,

Mohammed Mahmoud.

New Member

Re: NTP Server

Hi,

The "ntp master" will instruct the router to include its local clock as a time source, not recomended without a reliable hardware clock.

You can check that the local clock is included in the list of time sources as a stratum 1 time source with the cli command "show ntp associations".

Rui

483
Views
0
Helpful
6
Replies