Skip to main content

3.6.12 Specifying/Canceling prefer for an NTP Server


3.6.12 Specifying/Canceling prefer for an NTP Server
If multiple NTP servers are configured, the -m prefer=on specification gives priority to the NTP server registered first by the setntp command when synchronizing the NTP servers. From this point in time, the registered server with DNS round-robin enabled will be excluded from synchronization. By default, the prefer option is set to "on (enabled)."
  1. Execute the showntp command to display the prefer setting.
XSCF> showntp -m
prefer : on
localaddr : 0
  1. Execute the setntp command to set prefer.
    The following example specifies prefer for the NTP servers.
XSCF> setntp -m prefer=on
Please reset the XSCF by rebootxscf to apply the ntp settings.
  1. The following example cancels the prefer specification for the NTP servers.
XSCF> setntp -m prefer=off
Please reset the XSCF by rebootxscf to apply the ntp settings.
  1. Execute the rebootxscf command to reboot the XSCF to reflect the settings made.
XSCF> rebootxscf -a
The XSCF will be reset. Continue? [y|n] :y
  1. The XSCF session is disconnected at this time. Reconnect to the XSCF, and log in again.
  2. Execute the showntp command, and confirm the prefer setting.
    The following example cancels the prefer specification.
XSCF> showntp -m
prefer : off
localaddr : 0
  1. The following example does not specify prefer.
XSCF> showntp -a
client : enable
server : disable

server ntp1.red.com
server ntp2.blue.com