By default, the device receives NTP packets on all interfaces, and adjust clock for the client. You can
use this command to disable the device to receive NTP packets on the specified interface.
This command is configured only the interface that can receive and send IP packets.
The following example disables the device to receive the NTP packets.
Ruijie(config-if)# no ntp disable
Use this command to configure the device to act as an authoritative NTP server, synchronizing time
to other devices. Use the no form of this command to remove the device as an authoritative NTP
server.
In general, the local device synchronizes time from the external time source directly or indirectly.
However, if the time synchronization fails due to network connection trouble, you can use this
command to configure the local device to act as an authoritative NTP server to synchronize time to t
other devices. Once configured, the device will not perform time synchronization with the time source
which is of a higher stratum.
Configuring the device to act as an authoritative NTP server (in particular, specify a lower
stratum level), may be likely to overwrite the effective time. If multiple devices in the same
network are configured with this command, the time synchronization may be instable due to the
time difference between the devices.
Before configuring this command, you need to manually correct the system clock to avoid too
much bias if the device has never performed time synchronization with the external clock