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.


Configuration Guide - Device Management

S1720, S2700, S5700, and S6720 V200R011C10

This document describes the principles and configurations of the Device Management features, and provides configuration examples of these features.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring NTP Authentication

Configuring NTP Authentication


In networks demanding higher security, the authentication function can be enabled when using the NTP protocol. Password authentication of both clients and servers ensures that a client only synchronizes with an authenticated device, improving the network security.

NTP authentication follows these rules:

  • NTP authentication must be enabled first; otherwise, authentication cannot be implemented.

  • NTP authentication needs to be configured on both the client and the server. Otherwise, NTP authentication does not take effect.

  • When NTP authentication is enabled, a trusted key is configured on the client.

  • Keys configured on the server and the client must be identical.

  • Devices attempting to synchronize their clocks must declare their keys as reliable or NTP authentication will fail.


In NTP symmetric peer mode, the symmetric active peer functions as a client and the symmetric passive peer functions as a server.


  1. Run system-view

    The system view is displayed.

  2. Run ntp-service authentication enable

    The NTP authentication function is enabled.

  3. Run ntp-service authentication-keyid key-id authentication-mode { md5 | hmac-sha256 } [ cipher ] password

    The NTP authentication key is configured.

  4. Run ntp-service reliable authentication-keyid key-id

    The reliable key is specified.

Follow-up Procedure

After NTP authentication configuration is complete, apply the NTP authentication key in Configuring NTP Operating Modes by specifying the authentication-keyid parameter.

Updated: 2019-10-21

Document ID: EDOC1000178167

Views: 209616

Downloads: 1004

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next