Retrieve an external NTP server configuration
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
GET /cluster/ntp/servers/{server}
Introduced In: 9.7
Retrieves the configuration of an external NTP server used by ONTAP.
Related ONTAP commands
-
cluster time-service ntp server show
Learn more
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 |
||
authentication_enabled |
boolean |
Set NTP symmetric authentication on (true) or off (false). |
key |
||
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 |
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 |
_links
Name | Type | Description |
---|---|---|
self |
ntp_key_reference
Name | Type | Description |
---|---|---|
_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 |
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. |