ntp server¶
The following operations can be performed on "ntp server":
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.
Synopsys¶
add ntp server (<serverIP> | <serverName>) [-minpoll <positive_integer>] [-maxpoll <positive_integer>] [-autokey | -key <positive_integer>]
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
rm ntp server¶
Removes an NTP server. You can specify the server by IP address or by name.
Synopsys¶
rm ntp server (<serverIP> | <serverName>)
Arguments¶
serverIP
IP address of the NTP server to be removed.
serverName
Name of the NTP server to be removed.
set ntp server¶
Modifies the specified attributes of an NTP server.
Synopsys¶
set ntp server (<serverIP> | <serverName>) [-minpoll <positive_integer>] [-maxpoll <positive_integer>] [-preferredNtpServer ( YES | NO )] [-autokey | -key <positive_integer>]
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 NetScaler appliance 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
unset ntp server¶
Unset the specified attributes of an NTP server..Refer to the set ntp server command for meanings of the arguments.
Synopsys¶
unset ntp server (<serverIP> | <serverName>) [-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.
Synopsys¶
show ntp server [<serverIP> | <serverName>]
Arguments¶
serverIP
IP address of the NTP server about which to display information.
serverName
Name of the NTP server about which to display information.
Outputs¶
minpoll
Minimum poll interval of the server in secs.
maxpoll
Maximum poll interval of the server in secs.
preferredNtpServer
Preferred NTP server. The NetScaler appliance 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