21ViewsSystem viewDefault command level3: Manage levelExamples# Enable NTP authentication. system-view[Sysname] ntp-service authentication enableRelated commands• ntp-service authentication-keyid• ntp-service reliable authentication-keyidntp-service authentication-keyidUse ntp-service authentication-keyid to set the NTP authentication key.Use undo ntp-service authentication-keyid to remove the configured NTP authentication key.Syntaxntp-service authentication-keyid keyid authentication-mode md5 [ cipher | simple ] valueundo ntp-service authentication-keyid keyidDefaultNo NTP authentication key is set.ViewsSystem viewDefault command level3: Manage levelParameterskeyid: Sets an authentication key ID, in the range of 1 to 4294967295.cipher: Sets a ciphertext key.simple: Sets a plaintext key. This key is saved in cipher text for secrecy.value: Specifies the MD5 authentication key string. This argument is case sensitive. If simple is specified,it is a string of 1 to 32 characters. If cipher is specified, it is a string of 1 to 73 characters. If neither ciphernor simple is specified, you set a plaintext key string.Usage guidelinesIn a security-demanding network, enable NTP authentication for a system running NTP. NTPauthentication enhances network security by using the client-server key authentication, which prohibits aclient from synchronizing to a device that has failed the authentication.After you specify an NTP authentication key, configure the key as a trusted key by using the ntp-servicereliable authentication-keyid command.The system supports only the MD5 algorithm for key authentication.