FUJITSU M8000 User Manual
Page 245

setntp(8)
System Administration
223
■
The current NTP server settings set by the setntp(8) command can be checked
by using the showntp(8) command.
EXAMPLES
EXAMPLE 1
Adds the three NTP servers with the addresses 192.168.1.2, 10.18.108.10, and
10.24.1.2.
EXAMPLE 2
Deletes the NTP server 10.18.108.10.
EXAMPLE 3
Adds the two NTP servers ntp1.examples.com and ntp2.example.com.
EXAMPLE 4
Sets the stratum value to 7.
EXAMPLE 5
Cancels the designation of preferred server of the NTP server.
EXIT STATUS
The following exit values are returned:
SEE ALSO
rebootxscf(8)
, setnameserver(8), showntp(8)
XSCF>
setntp 192.168.1.2 10.18.108.10 10.24.1.2
Please reset the XSCF by rebootxscf to apply the ntp settings.
XSCF>
setntp -c del 10.18.108.10
Please reset the XSCF by rebootxscf to apply the ntp settings.
XSCF>
setntp ntp1.example.com ntp2.example.com
Please reset the XSCF by rebootxscf to apply the ntp settings.
XSCF>
setntp -c stratum -i 7
Please reset the XSCF by rebootxscf to apply the ntp settings.
XSCF>
setntp -m prefer=off
Please reset the XSCF by rebootxscf to apply the ntp settings.
0
Successful completion.
>0
An error occurred.