No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


FAQ-When NTP server down ,Why the Ntp client is still in synchronized status?

Publication Date:  2013-11-15 Views:  194 Downloads:  0

Issue Description

The configuration is : ntp-service unicast-server
the ntp server is not available,but the NTP server  is sitll in synchronized status.

  PING 56 data bytes, press CTRL_C to break
    Request time out
    Request time out

<MEX_RTR_A>dis ntp sever verbose               
clock source:
clock stratum: 1
clock status: configured, master, sane, valid
reference clock ID:
local mode: client, local poll: 10
peer mode: server, peer poll: 10

<MEX_RTR_A>dis ntp status             
clock status: synchronized
clock stratum: 2
reference clock ID:
nominal frequency: 100.0000 Hz
actual frequency: 100.0000 Hz
clock precision: 2^18

Alarm Information


Handling Process

On this case we can see the local pool is 10 ,that mean it needs 8*2^10 seconds to lose  synchronization .

Root Cause

If the NTP client has 2 unicast servers configured as shown below.
ntp-service unicast-server preference         NTP server master
ntp-service unicast-server                     NTP server backup
here are the procedure of NTP.
1.NTP client gets synchronized to the unicast server configured with preference.
2.When the clock status on the NTP client is synchronized and the system is stable, the local poll value on the NTP client        
         increases  from default poll interval of 2^6 seconds to maximum system poll value which is 2^17 seconds.
3.NTP client will keep polling the NTP server at an interval which is equal to the local poll value.
4.After every poll interval expires, NTP client will send a request to the NTP server and the server will send a response.
5.After the local poll value has increased from 2^6 seconds to 2^10 seconds, if the interface of the primary server is shutdown, then the NTP client will continue to poll the NTP server every 2^10 seconds. NTP client will send request to NTP server every 2^10 seconds and wait for response from the NTP server.
6.If the NTP client does not receive response from the NTP server for 6 consecutive packets, then the NTP client will switch from primary server to backup server.

If NTP client has only one unicast servers configured as shown below.
ntp-service unicast-server

It is similar that if the interface of the server is shutdown, it will take 8* current-poll seconds to lose  synchronization.