R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference
49
Predefined user roles
network-admin
mdc-admin
Usage guidelines
You need to enable SNTP authentication in networks that require time synchronization security to make
sure SNTP clients are only synchronized to authenticated NTP servers.
To authenticate an NTP server, set an authentication key and specify it as a trusted key.
Examples
# Enable SNTP authentication.
<Sysname> system-view
[Sysname] sntp authentication enable
Related commands
• sntp authentication-keyid
• sntp reliable authentication-keyid
sntp authentication-keyid
Use sntp authentication-keyid to set an SNTP authentication key.
Use undo sntp authentication-keyid to remove the SNTP authentication key.
Syntax
sntp authentication-keyid keyid authentication-mode md5 { cipher | simple } value
undo sntp authentication-keyid keyid
Default
No SNTP authentication key is set.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
keyid: Specifies a key ID to identify an authentication key, in the range of 1 to 4294967295.
authentication-mode md5 value: Uses the MD5 algorithm for key authentication.
simple: Sets a plaintext authentication key.
cipher: Sets a ciphertext authentication key.
value: Specifies the MD5 authentication key string. 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.










