ONTAP 9.13.1 commands

cluster time-service ntp server show

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 this 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)

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

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` ').

[-is-authentication-enabled {true|false}] - Is NTP Symmetric Key Authentication Enabled

If this parameter is specified, the command displays the external NTP server or servers that require NTP symmetric key authentication for communication.

[-key-id <integer>] - NTP Symmetric Authentication Key ID

If this parameter is specified, the command displays the external NTP server or servers that match the specified symmetric authentication key ID.

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
                                        Is
                                        Authentication
Server                         Version  Enabled        Key ID
------------------------------ -------  -------------- ------
ntp1.example.com               auto     false          -
ntp2.example.com               auto     true           10
Top of Page