ntp
Usage
ntp [-a <action>]
ntp -a list
ntp -a mod -s “<list of settings>”
ntp -a test -t <time server>
ntp -a sync
Summary
The ntp command enables a user to view NTP status, add an NTP server, modify NTP settings, test the NTP
server connection, and synchronize subsystem time with the NTP server.
Options
-a <action> Which action to perform.
list (Default) Displays NTP information.
mod Change the settings for NTP.
test Test time server.
sync Sync time with time server.
-s “<option>=<value>” Used to specify what options to change.
ntp= Enable and disable ntp service.
enable
disable
server1= Specic to the time servers.
server2=
server3=
-t <time server> Species the time server to test
Used with -a test. Returns only failure reports.
247
Promise Technology
Managing with CLI