ntp
Required Command-Line Mode = Configure
Required User Level = Admin
Use the ntp command to configure persistent synchronization of the GigaVUE HC Series node’s system clock with an NTP server. Separate arguments let you add servers and enable the use of NTP generally. You can also use the ntpdate command to perform one-time synchronization of the system clock. Refer to ntpdate for more information.
The ntp command has the following syntax:
ntp
authentication enable
authentication-key <key number>
disable
enable
server <hostname, IPv4 or IPv6 address> [disable | key <key number> | keys enable | version <version
number>]
The following table describes the arguments for the ntp command:
Argument |
Description |
||||||||||||||||||
authentication enable |
Enables NTP authentication. For example: (config) # ntp authentication enable |
||||||||||||||||||
authentication-key <key number> |
Specifies an NTP authentication key. |
||||||||||||||||||
disable |
Disables the use of NTP for synchronization of the system’s clock. For example: (config) # ntp disable |
||||||||||||||||||
enable |
Enables the use of NTP for synchronization of the system’s clock. For example: (config) # ntp enable |
||||||||||||||||||
server <hostname, IPv4 or IPv6 address> [disable | key <key number> | keys enable | version <version number>] |
Adds an NTP server to the GigaVUE HC Seriesnode’s list. The arguments are as follows:
For example, the following command adds an NTP server on an IPv4 address: (config) # ntp server 192.168.1.10 |
Related Commands
The following table summarizes other commands related to the ntp command:
Task |
Command |
Displays detailed information on current NTP settings. |
# show ntp |
Displays NTP configuration. |
# show ntp configured |
Disables NTP authentication. |
(config) # no ntp authentication enable |
Deletes a specified NTP authentication key. |
(config) # no ntp authentication-key <key number> |
Deletes a specified trusted NTP authentication key. |
(config) # no ntp authentication-key <key number> trusted |
Enables NTP. |
(config) # no ntp disable |
Disables NTP. |
(config) # no ntp enable |
Deletes the specified NTP server by IPv4 address. |
(config) # no ntp server 1.1.1.1 |
Deletes the specified NTP server by hostname. |
(config) # no ntp server time.windows.com |
Re-enables a specified NTP server. |
(config) # no ntp server 1.1.1.1 disable |
Disables the key for the specified NTP server. |
(config) # no ntp server 1.1.1.1 keys enable |