Skip to main content

Retrieve an external NTP server configuration

Contributors

GET /cluster/ntp/servers/{server}

Introduced In: 9.7

Retrieves the configuration of an external NTP server used by ONTAP.

  • cluster time-service ntp server show

Parameters

Name Type In Required Description

server

string

path

True

NTP server host name, IPv4, or IPv6 address.

fields

array[string]

query

False

Specify the fields to return.

Response

Status: 200, Ok
Name Type Description

_links

_links

authentication_enabled

boolean

Set NTP symmetric authentication on (true) or off (false).

key

ntp_key_reference

server

string

NTP server host name, IPv4, or IPv6 address.

version

string

NTP protocol version for server. Valid versions are 3, 4, or auto.

Example response
{
  "_links": {
    "self": {
      "href": "/api/resourcelink"
    }
  },
  "authentication_enabled": 1,
  "key": {
    "_links": {
      "self": {
        "href": "/api/resourcelink"
      }
    },
    "id": 10
  },
  "server": "time.nist.gov",
  "version": "auto"
}

Error

Status: Default, Error
Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

href

Name Type Description

href

string

Name Type Description

self

href

ntp_key_reference

Name Type Description

_links

_links

id

integer

NTP symmetric authentication key identifier or index number (ID). This ID, the type of cryptographic hash, and the cryptographic hash value are all provided by the remote NTP server.

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.