Skip to main content

cluster time-service ntp server modify

Contributors
Suggest changes

Modify NTP Server Options

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

Description

The cluster time-service ntp server modify command modifies the configuration of an existing external network time server that uses the Network Time Protocol (NTP) for time correction and adjustment.

Parameters

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

This parameter specifies the host name or IP address of an existing external NTP server that is to be modified.

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

Use this parameter to optionally specify the NTP protocol version that should be used for communicating with the external NTP server. If the external NTP server does not support the specified protocol version, time exchange cannot take place.

The supported values for this parameter include the following:

  • 3 - Use NTP protocol version 3, which is based on Internet Standard request for comments (RFC) #1305.

  • 4 - Use NTP protocol version 4, which is based on Internet Standard RFC #5905.

  • auto - Have Data ONTAP select the NTP protocol version.

The default setting is auto.

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

Use this parameter to optionally specify whether the external NTP server is the primary time source for correcting and adjusting the cluster time. The responses from this source are used unless its time is outside the accepted selection range

The default setting is false .

You use this parameter when a high quality radio (or GPS) based time server is being used with a set of non-radio based backup time servers.

This parameter is available only at the advanced privilege level and higher.

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

Use this parameter to optionally disable NTP symmetric key authentication for communication with the specified time server. Using this parameter and selecting false disables the NTP symmetric key authentication and clears the key-id parameter for the specified server. This parameter is not required to enable NTP symmetric key authentication, but if specified as true the NTP symmetric authentication key must also be specified using the key-id parameter.

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

Use this parameter to optionally enable NTP symmetric authentication key for communication with the specified time server. The ID must refer to a key created by the cluster time-service ntp key create command and must be a key with the same ID and value as one configured on the specified time server.

Examples

The following example modifies the NTP version of an NTP server named ntp1.example.com. The NTP version is changed to 4.

cluster1::> cluster time-service ntp server modify -server ntp1.example.com -version 4