The ntp-service disable command disables the IPv4 and IPv6 NTP function.
The undo ntp-service disable command enables the IPv4 and IPv6 NTP function.
By default, the NTP function is enabled.
Usage Scenario
Run the ntp-service disable or ntp-service ipv6 disable command in the system view to disable the IPv4 or IPv6 NTP service function.
The device does not need to synchronize clock with IPv4 or IPv6 external servers or peers.
The device does not need to provide reference clock source for IPv4 or IPv6 external clients.
Precautions
Disabling of NTP service will not delete the existing configurations.
After the NTP service is enabled, the system listens to IP address 0.0.0.0 by default. That is, the system listens to all IP addresses, which is prone to security issues. It is recommended that you run the ntp-service access { peer | query | server | synchronization | limited } { acl-number | ipv6 acl6-number } * command to configure access control permission on the local NTP service. You can also run the ntp-service authentication enable command to configure NTP identify authentication.