Command Reference NTP Commands
Mode
Usage Guide
The NTP packet received on any interface can be provided to the client to perform the clock
adjustment by default. The function can shield the NTP packet received from the corresponding
interface.
Note: This command takes effect only for the interface whose IP address can be configured to receive
and send packets.
Configuration
Examples
The following example disables the function of receiving the NTP packet on the interface.
Ruijie(config)# no ntp disable
Related
Commands
Command Description
N/A N/A
Platform
Description
N/A
ntp server
Use this command to specify an NTP server for the NTP client.
ntp server ip-addr [ version version ] [ source if-name ] [ key keyid ] [ prefer ]
no ntp server ip-addr
Parameter
Description
Parameter Description
ip-addr
Sets the IP address of the NTP server. IPv4 and IPv6 are supported.
version
(Optional) Specifies the version (1-3) of NTP. The default version is
NTPv3.
if-name
(Optional) Specifies the source interface from which the NTP packet
is sent (Layer 3 interface).
keyid
(Optional) Specifies the encryption key adopted in communication
with the corresponding server.
prefer (Optional) Specifies the corresponding server as the Prefer server.
Defaults
No NTP server is configured by default.
Command
Mode
Global configuration mode
Usage Guide
Currently, Ruijie system only acts as clients that can synchronize time from a maximum of 20 servers.
To initiate the encrypted communication with the server, set the global encryption key and global
trusted key firstly, and then specify the corresponding key as the trusted key of the server to launch
the encrypted communication of the server. To complete the encrypted communication with the