ntp command
Use this command to display and configure the Network Time Protocol (NTP).
Syntax:
ntp [-options]
Option | Description | Values |
---|---|---|
-en | Enables or disables the Network Time Protocol. | enabled, disabled |
-i[x] | Name or IP address of the Network Time Protocol server for index x. | The name of the NTP server to be used for clock synchronization. The range of the index number of the NTP server is from -i1 through -i4. Note -i is the same as |
-f | The frequency (in minutes) that the clock is synchronized with the Network Time Protocol server. | 3 - 1440 minutes |
-synch | Requests an immediate synchronization with the Network Time Protocol server. | No values are used with this parameter. |
Example:
system> ntp -en enabled -f 11 -i1 1.1.1.1 -i2 1.1.1.2 -i3 1.1.1.3 -i4 1.1.1.4
ok
system> ntp
-en: enabled
-f: 11 minutes
-i1: 1.1.1.1
-i2: 1.1.1.2
-i3: 1.1.1.3
-i4: 1.1.1.4
Give documentation feedback