03-04-2019 04:04 AM - edited 03-04-2019 04:13 AM
i am confused ? how does it work ?
Solved! Go to Solution.
03-04-2019
04:23 AM
- last edited on
11-07-2022
02:42 AM
by
Translator
Hi in short
ntp server
points to a server to get its time
ntp peer
gets its ntp off an actual peer device like another router on the network
ntp master
Configures the device as an authoritative NTP server.
03-04-2019
04:23 AM
- last edited on
11-07-2022
02:42 AM
by
Translator
Hi in short
ntp server
points to a server to get its time
ntp peer
gets its ntp off an actual peer device like another router on the network
ntp master
Configures the device as an authoritative NTP server.
03-04-2019
04:29 AM
- last edited on
11-07-2022
02:40 AM
by
Translator
so for peer if i have a router with the time set manually i can use the
peer
command so it get its time from router i set manually? and is it possible to have two ntp servers on a network ?
03-04-2019 04:32 AM - edited 03-04-2019 04:34 AM
Yes, you can have 2 or more NTP Servers, and from the client perspective use the parameter "prefer" at the end to select primary NTP Server.
03-04-2019 04:25 AM - edited 03-04-2019 04:30 AM
Hi,
NTP Master is used to indicate the NTP Server (Authoritative NTP) and its type of stratum, the stratum 1 is used for public NTP Servers, so if you set up one router as NTP Server it could be stratum 2. The NTP Clients will be NTP Stratum 3.
NTP server is configured on the client NTP Routers to indicate the IP Address of NTP Server in order to obtain all the time information.
NTP Peer is configured in order to sync the time settings with other router. You can specify multiple peer associations.
Hope it is useful.
03-04-2019 04:34 AM
03-04-2019 08:36 AM
I would offer a slightly different perspective in answering this question. In configuring ntp on an IOS device there are several things that we can specify: who has authoritative ntp time? Is the device we are configuring going to learn ntp time and if so from what device will it learn ntp time? Is this device going to send ntp time to other devices?
When we configure ntp master we are asserting that this device has authoritative ntp time. It does not specify how this device learned its time. It implies that this device will send ntp time to other devices who request it.
When we configure ntp server we are stating that we believe that the device identified in the command knows authoritative ntp time and this device will learn ntp time from that device.
When we configure ntp master or ntp server we are specifying a server relationship or a client relationship. When we configure ntp peer we are not specifying either server or client relationship. In the ntp peer relationship we would offer ntp time to the peer if we know authoritative ntp time and the peer would offer ntp time to us if the peer knows authoritative ntp time.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide