Got it

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

1997 0 0 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:


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

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 " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.