Home > Configuration > Ntp > setntpserver_key

setntpserver_key

Use this method to set key to use for encrypting authentication fields. All packets sent to and received from the server must include authentication fields encrypted by using this key. To require authentication for communication with the server, you must set either the value of this parameter or the autokey parameter.

Syntax



Parameters

serverip

IP address of the NTP server to be modified.

servername

Name of the NTP server to be modified.

key

Key to use for encrypting authentication fields. All packets sent to and received from the server must include authentication fields encrypted by using this key. To require authentication for communication with the server, you must set either the value of this parameter or the autokey parameter.
Minimum value = 1.
Maximum value = 65534.

Return Value

Returns simpleResult

See Also