NTP Server

Unanswered Question
May 24th, 2007
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
mohammedmahmoud Thu, 05/24/2007 - 14:50
User Badges:
  • Green, 3000 points or more

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.

Richard Burts Thu, 05/24/2007 - 14:55
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

mohammedmahmoud Thu, 05/24/2007 - 15:07
User Badges:
  • Green, 3000 points or more

Rick,


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



BR,

Mohammed Mahmoud.

Richard Burts Thu, 05/24/2007 - 15:11
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

mohammedmahmoud Thu, 05/24/2007 - 15:26
User Badges:
  • Green, 3000 points or more

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.

RF_IESFAFE Thu, 05/24/2007 - 17:11
User Badges:

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



Actions

This Discussion