Skip to main content
A newer release of this product is available.

cluster time-service ntp server show

Contributors
Suggest changes

Display a list of NTP Servers

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The cluster time-service ntp server show command displays the association between the cluster and external network time servers that use the Network Time Protocol (NTP).

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>,…​ parameter, the command only displays the fields that you specify. For example: -fields server,version .

| [-instance ] }

If the -instance parameter is specified, the command displays all the available field information.

[-server <text>] - NTP Server Host Name, IPv4 or IPv6 Address

If this parameter is specified, the command displays the external NTP servers that match the specified server name or IP address.

[-version {3|4|auto}] - NTP Version for Server (default: auto)

If this parameter is specified, the command displays the external NTP servers that use the specified NTP version.

[-is-preferred {true|false}] - Is Preferred NTP Server (default: false) (privilege: advanced)

If this parameter is specified, the command displays the external NTP server or servers that match the specified preferred server status.

[-is-public {true|false}] - Is Public NTP Server Default (privilege: advanced)

If this parameter is specified, the command displays the information for the external NTP servers that are either on the NTP server list defined by Data ONTAP (true` ') or not on the list (false` ').

Examples

The following example displays information about all external NTP time servers that are associated with the cluster:

cluster1::> cluster time-service ntp server show
Server               Version
-------------------- -----------
ntp1.example.com     auto
ntp2.example.com     auto