connectorctl ntp config
To configure the Network Time Protocol (NTP) server, use the connectorctl ntp config command.
connectorctl ntp config { -n comma-separated-list-of-servers | -d }
Syntax Description
| Keywords and Variables | Description |
|---|---|
| -n comma-separated-list-of-servers |
List of NTP servers. Ensure that you separate each server name with a comma. |
| -d |
Deletes the current NTP configurations. |
Command History
|
Release 3 |
This command is introduced. |
Examples
The following example shows how to configure the NTP server:[spacesadmin@hostname ~]$ connectorctl ntp config -d
Executing command:ntp
Command execution status:Success
-----------------------
Cleaning NTP Servers entries and stopping chrony/ntp daemon
NTP configuration: success
[spacesadmin@hostname ~]$ connectorctl ntp config -n ntp.esl.cisco.com
Executing command:ntp
Command execution status:Success
-----------------------
Doing NTP configuration
Checking status for server: ntp.esl.cisco.com
Status check successful for server: ntp.esl.cisco.com
NTP configuration: success
Feedback