VMware

Ntp Namespace

Ntp namespace provides commands Gets NTP configuration status and tests connection to ntp servers.

List of commands:



Test Command

dcli com vmware appliance techpreview ntp test

Description

Test the connection to a list of ntp servers.

Options

Option Name Type Required Description
servers string Yes List of host names or IP addresses of NTP servers.

Example

dcli com vmware appliance techpreview ntp test --servers testString


Get Command

dcli com vmware appliance techpreview ntp get

Description

Get the NTP configuration status. If you run the 'timesync.get' command, you can retrieve the current time synchronization method (NTP- or VMware Tools-based). The 'ntp' command always returns the NTP server information, even when the time synchronization mode is not set to NTP. If the time synchronization mode is not NTP-based, the NTP server status is displayed as down.

Example

dcli com vmware appliance techpreview ntp get