Enabled the authenticated NTP service on the S7706, but the AR cannot synchronize the clock from the S7706.

Latest reply: Apr 20, 2018 11:50:09 550 1 0 0
 Issue Description

customer enabled the authenticated NTP service on the S7706, but the AR cannot synchronize the clock from the S7706.

Strangely, through capturing packets, the AR sends packets with authentication but the S7706 responds without authentication. Therefore, the AR does not trust the clock source and cannot be authenticated.


#core switch, NTP server


#AR router1 (V200R007C00SPCb00)


transparent.gif Handling Process

Reproduce the issue and do capture to analysis.

We build the same environment of the existing network in the laboratory and can reproduce the issue. Through the capture, we find that the server checks the length of the Authentication Code while authenticating the client's synchronization packet. The length of hmac-sha256 algorithm is not right. The length of the Authentication Code should be 36, but the length of AR device is 20. The length of the string can also be seen from capturing the packet:


Actually, the length of MD5 should be 20.

transparent.gif Root Cause

It is confirmed that the length of the SHA2 algorithm at the AR product side is 20, which is inconsistent with the platform and subsequent patches are modified to be consistent with other products.

transparent.gif Solution

Use MD5 authentication can sync the NTP.

  • x
  • convention:

MVE Created Apr 20, 2018 11:50:09 Helpful(0) Helpful(0)

useful document, thanks
  • x
  • convention:



You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits