Configuration Guide NTP Configuration
Control query function (the network management device controls
the NTP server, such as setting the leap second mark or monitor
the working state,ect) is not supported in the current system.
Although it matches with the order in accordance with the above
rules, the related requests about the control and query are not
supported.
If you do not configure any access control rules, then all accesses are allowed.
However, once the access control rules are configured, only the rule that
allows access can be carried out.
The following example shows how to allow the peer device in acl1 to control
the query, request for and synchronize the time with the local device; and limit
the peer device in acl2 to request the time for the local device:
Ruijie(config)# ntp access-group peer 1
Ruijie(config)# ntp access-group serve-only 2
Showing NTP Information
NTP Debugging
If you want to debug the NTP function, this command may be used to output
necessary debugging information for troubleshooting.
To debug the NTP function, run the following commands in the privilege mode:
Enable the debugging function.
Disable the debugging function.
Showing NTP Information
Execute the show ntp status command in the privileged mode to show the
current NTP information.
To display the NTP function, run the following command in the privileged mode:
Show the current NTP information.
Only when the relevant communication server is configured can this command
be used to print the display information.
Ruijie# show ntp status
Clock is synchronized, stratum 9, reference is 192.168.217.100
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**18
reference time is AF3CF6AE.3BF8CB56 (20:55:10.000 UTC Mon Mar 1 1993)
clock offset is 32.97540 sec, root delay is 0.00000 sec