System --setntp [--add Page 87
Page 87

system --setntp [--add
Description
Adds a new NTP server for use with the DR Series system.
Syntax
system --setntp --add 2.centos.pool.ntp.org
Result
Stopping NTP service ... Done
Adding NTP server ... Done
Starting NTP service ... Done
NTP server 2.centos.pool.ntp.org added.
Enter the following DR Series system CLI command to verify that the NTP server was successfully added:
system --show --ntp
NTP Service is : UP
Server 1 : 0.centos.pool.ntp.org
Server 2 : 1.centos.pool.ntp.org
Server 3 : 2.centos.pool.ntp.org
system --setntp [--delete
Description
Deletes an existing NTP server.
Syntax
system --setntp --delete 2.centos.pool.ntp.org
Result
Stopping NTP service ... Done
Removing NTP server ... Done
Starting NTP service ... Done
NTP server 2.centos.pool.ntp.org deleted.
system --setntp [--enable]
Description
Enables the NTP service for your DR Series system.
Syntax
system --setntp --enable
Result
ntpd: Synchronizing with time server: [ OK ]
Starting ntpd: [ OK ]
To verify whether the NTP service was enabled, use the following command:
system --setntp --enable
NTP service is already enabled.
87