Skip to content

ntp-server

The following operations can be performed on "ntp-server":

unset| show| rm| add| set|

unset ntp server

Unset the specified attributes of an NTP server..Refer to the set ntp server command for meanings of the arguments.

Synopsis

unset ntp server ( | ) [-autokey] [-minpoll] [-maxpoll] [-preferredNtpServer] [-key]

show ntp server

Displays information about an NTP server. You can specify the server by IP address or by name.

Synopsis

show ntp server [ | ]

Arguments

serverIP IP address of the NTP server about which to display information.

serverName Name of the NTP server about which to display information.

Output

minpoll Minimum poll interval of the server in secs.

maxpoll Maximum poll interval of the server in secs.

preferredNtpServer Preferred NTP server. The Citrix ADC chooses this NTP server for time synchronization among a set of correctly operating hosts.

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.

devno count stateflag

rm ntp server

Removes an NTP server. You can specify the server by IP address or by name.

Synopsis

rm ntp server ( | )

Arguments

serverIP IP address of the NTP server to be removed.

serverName Name of the NTP server to be removed.

add ntp server

Adds an NTP server to the appliance. This server can be used to synchronize the time on the appliance to the network time.

Synopsis

add ntp server ( | ) [-minpoll ] [-maxpoll ] [-autokey | -key ]

Arguments

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: 4 Maximum value: 17

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: 4 Maximum value: 17

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

set ntp server

Modifies the specified attributes of an NTP server.

Synopsis

set ntp server ( | ) [-minpoll ] [-maxpoll ] [-preferredNtpServer ( YES | NO )] [-autokey | -key ]

Arguments

serverIP IP address of the NTP server to be modified.

serverName Name of the NTP server to be modified.

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: 4 Maximum value: 17

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: 4 Maximum value: 17

preferredNtpServer Preferred NTP server. The Citrix ADC chooses this NTP server for time synchronization among a set of correctly operating hosts.

Possible values: YES, NO Default value: NO

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

Was this article helpful?