Home > Configuration > Ntp > addntpserver

addntpserver

Use this method to adds an NTP server to the appliance. This server can be used to synchronize the time on the appliance to the network time.

Syntax



Parameters

serverip

IP address of the NTP server.

servername

Fully qualified domain name of the NTP server.

minpoll

Minimum time after which the NTP server must poll the NTP messages. In seconds, expressed as a power of 2.
Default value = NS_NTP_MINPOLL_DEFAULT_VALUE.
Minimum value = NS_NTP_MINPOLL_MIN_VALUE.
Maximum value = NS_NTP_MAXPOLL_MAX_VALUE.

maxpoll

Maximum time after which the NTP server must poll the NTP messages. In seconds, expressed as a power of 2.
Default value = NS_NTP_MAXPOLL_DEFAULT_VALUE.
Minimum value = NS_NTP_MINPOLL_MIN_VALUE.
Maximum value = NS_NTP_MAXPOLL_MAX_VALUE.

autokey

Use the Autokey protocol for key management for this server, with the cryptographic values (for example, symmetric key, host and public certificate files, and sign key) generated by the ntp-keygen utility. To require authentication for communication with the server, you must set either the value of this parameter or the key parameter.

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