ntp-service authentication enable
Syntax
View
Parameter
Description
Example
ntp-service authentication-keyid
Syntax
View
Parameter
Description
[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
undo ntp-service authentication enable
System view
None
Use the
ntp-service authentication enable
authentication.
Use the
undo ntp-service authentication enable
authentication.
By default, NTP authentication is disabled.
# Enable NTP authentication.
<Sysname> system-view
[Sysname] ntp-service authentication enable
ntp-service authentication-keyid keyid authentication-mode md5 value
undo ntp-service authentication-keyid keyid
System view
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.
Use the
ntp-service authentication-keyid
authentication key.
Use the
undo ntp-service authentication-keyid
NTP authentication key.
By default, no NTP authentication key is set.
command to enable NTP
command to disable NTP
command to set the NTP
command to remove the set
2305