You are here: Reference Manual > lunash Appliance Commands > sysconf Commands > sysconf ntp Commands > sysconf ntp addserver Command

lunash sysconf ntp Commands

sysconf ntp addserver Command

NAME

 sysconf ntp addserver  - Adds NTP server.

SYNOPSIS

lunash:> sysconf ntp addserver <hostnameoripaddress> [-autokey]|[-key <keyid>] [-burst] [-iburst] [-prefer] [-version <version>]

DESCRIPTION

This command adds an NTP server.

OPTIONS

(Option)     Parameter Description
. . <hostnameoripaddress> Add NTP Server
-autokey -a . autokey - send and receive packets authenticated by the Autokey scheme (not used with key <keyid>)
-burst -b . burst - send multiple packets when server is reachable
-iburst -i . iburst - send out bursts of 8 packets when server is unreachable
-key -k <keyid> NTP Authentication Keyid (1-65535) (not used with Autokey)
-prefer -p . Preferred server
-version -v <version> NTP version (3 or 4)

 

SAMPLE OUTPUT

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)

[myLuna] lunash:>

.