Operation Manual – NTP
H3C S5600 Series Ethernet Switches
Chapter 1 NTP Configuration
1-20
II. Network diagram
Device A
Device B
Device C
3.0.1.31/24
3.0.1.32/24
3.0.1.33/24
Figure 1-7
Network diagram for NTP peer mode configuration
III. Configuration procedure
1)
Configure Device C.
# Set Device A as the NTP server.
<DeviceC> system-view
[DeviceC] ntp-service unicast-server 3.0.1.31
2)
Configure Device B (after the Device C is synchronized to Device A).
# Enter system view.
<DeviceB> system-view
# Set Device C as the peer of Device B.
[DeviceB] ntp-service unicast-peer 3.0.1.33
Device C and Device B are symmetric peers after the above configuration. Device B
works in symmetric active mode, while Device C works in symmetric passive mode.
Because the stratum level of the local clock of Device B is 1, and that of Device C is 3,
the clock of Device C is synchronized to that of Device B.
View the status of Device C after the clock synchronization.
[DeviceC] display ntp-service status
Clock status: synchronized
Clock stratum: 2
Reference clock ID: 3.0.1.32
Nominal frequency: 100.0000 Hz
Actual frequency: 100.0000 Hz
Clock precision: 2^18
Clock offset: 0.66 ms
Root delay: 27.47 ms
Root dispersion: 208.39 ms