3com V7300 ユーザーズマニュアル
Network Time Protocol (NTP) Configuration
17
oscillator to stratum 8 in order to allow the two systems to use a lower
stratum server (7 or lower) if one is available. By default, the system uses
this drift file: /etc/ntp/drift.
stratum server (7 or lower) if one is available. By default, the system uses
this drift file: /etc/ntp/drift.
3 On the voipbox2 system, create the /etc/ntp.conf file.
4 Edit the file and add these lines:
server 127.127.1.1
peer voipbox1
5 On the voipbox1 server, su to root and execute these commands:
/etc/init.d/ntpd stop
/etc/init.d/ntpd start
6 On the voipbox2 server, su to root and execute the same commands:
/etc/init.d/ntpd stop
/etc/init.d/ntpd start
Optionally, you can add any number of additional server entries in the
ntp.conf file.
ntp.conf file.
Verification
To verify that the NTP service is properly configured, run this command:
ntpq -p
Any user can run the ntpq command.
The output from this command shows the state of all of the ntp
servers with which the local system is communicating.
servers with which the local system is communicating.