Ntp configuration examples, Configuring ntp client/server mode, Network requirements – H3C Technologies H3C SR8800 User Manual
Page 81: Configuration procedure

69
Task Command
Remarks
3.
View the brief information of
the NTP servers from the local
router back to the primary
reference source.
display ntp-service trace [ | { begin
| exclude | include }
regular-expression ]
Available in any view
NTP configuration examples
NOTE:
Unless otherwise specified, the examples given in this section apply to all switches and routers that support
NTP.
Configuring NTP client/server mode
Network requirements
Perform the following configurations to synchronize the time between Device B and Device A:
•
As shown in
, the local clock of Device A is to be used as a reference source, with the
stratum level of 2.
•
Device B works in the client/server mode and Device A is to be used as the NTP server of Device
B.
Figure 25 Network diagram
Configuration procedure
1.
Set the IP address for each interface as shown in
. (Details not shown)
2.
Configure Device A:
# Specify the local clock as the reference source, with the stratum level of 2.
[DeviceA] ntp-service refclock-master 2
3.
Configure Device B:
# View the NTP status of Device B before clock synchronization.
Clock status: unsynchronized
Clock stratum: 16
Reference clock ID: none
Nominal frequency: 64.0000 Hz
Actual frequency: 64.0000 Hz
Clock precision: 2^7
Clock offset: 0.0000 ms
Root delay: 0.00 ms
Root dispersion: 0.00 ms
- H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module