Home > |
---|
Add an NTP server.
sysconf ntp addserver <hostname_or_ipaddress> [-autokey]|[-key <keyid>] [-burst] [-iburst] [-prefer] [-version <version>]
Parameter | Shortcut | Description |
---|---|---|
<hostname_or_ipaddress> | Specifies the hostname or IP address of the NTP Server. | |
-autokey | au | Send and receive packets authenticated by the Autokey scheme (not used with key <keyid>). |
-burst | de | Send multiple packets when the server is reachable. |
-iburst | di | Send out bursts of 8 packets when the server is unreachable. |
-key |
Specifies the NTP Authentication Keyid (not used with Autokey) Range: 1 to 65535 |
|
-prefer | e | Set this server as the preferred server. |
-version | li |
Specifies the NTP version Valid values: 3 or 4 |
lunash:> sysconf ntp addserver time.nrc.ca
NTP server 'server time.nrc.ca' added.
WARNING !! Server 'time.nrc.ca' added without authentication.
NTP is enabled
Shutting down ntpd: [ OK ]
Starting ntpd: [ OK ]
Please wait to see the result ......
NTP is running
===========================================================
NTP Associations Status:
ind assid status conf reach auth condition last_event cnt
===========================================================
1 56579 8011 yes no none reject mobilize 1
2 56580 8011 yes no none reject mobilize 1
===========================================================
Please look at the ntp log to see any potential problem.
Command Result : 0 (Success)