2305
[Sysname-acl-basic-2001] rule permit source 10.10.0.0 0.0.255.255
[Sysname-acl-basic-2001] quit
[Sysname] ntp-service access peer 2001
ntp-service authentication enable
Syntax ntp-service authentication enable
undo ntp-service authentication enable
View System view
Parameter None
Description Use the ntp-service authentication enable command to enable NTP
authentication.
Use the undo ntp-service authentication enable command to disable NTP
authentication.
By default, NTP authentication is disabled.
Example # Enable NTP authentication.
<Sysname> system-view
[Sysname] ntp-service authentication enable
ntp-service authentication-keyid
Syntax ntp-service authentication-keyid keyid authentication-mode md5 value
undo ntp-service authentication-keyid keyid
View System view
Parameter keyid: Authentication key ID, in the range of 1 to 4294967295.
authentication-mode md5 value: Specifies to use the MD5 algorithm for key
authentication, where value represents authentication key and is a string of 1 to
32 characters.
Description Use the ntp-service authentication-keyid command to set the NTP
authentication key.
Use the undo ntp-service authentication-keyid command to remove the set
NTP authentication key.
By default, no NTP authentication key is set.