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.


S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
Device Management Compatible Commands

Device Management Compatible Commands

ntp-service authentication-keyid (upgrade-compatible command)


The ntp-service authentication-keyid command sets NTP authentication key.

The undo ntp-service authentication-keyid command removes NTP authentication key.

By default, no authentication key is set.


ntp-service authentication-keyid key-id authentication-mode { md5 | hmac-sha256 } plain password-plain

undo ntp-service authentication-keyid key-id


Parameter Description Value
key-id Indicates the key number. Key ID is an integer and ranges from 1 to 4294967295.
authentication-mode md5 Indicates MD5 authentication mode. -
authentication-mode hmac-sha256 Indicates HMAC-SHA256 authentication mode. -
plain password-plain

Indicates that the configured password is displayed in plain text, and specifies the password.


If plain is selected, the password is saved in the configuration file in plain text. This brings security risks.

The password is a string of 1 to 255 case-sensitive characters without spaces.


System view

Default Level

2: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can be run when it is entered in full.

After the upgrade, it is replaced by the ntp-service authentication-keyid.

Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 115242

Downloads: 83

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