H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 467
46-16
z
Device C (a WX3000 series device) uses Device A as the NTP server, and Device A works in
server mode automatically.
z
The local clock of Device B is set as the NTP master clock, with the clock stratum level of 1. Set
Device C as the peer of Device B.
Figure 46-7
Network diagram for NTP peer mode configuration
Device A
Device B
Device C
3.0.1.31/24
3.0.1.32/24
3 .0.1.33/24
Configuration procedure
1) Configure Device C.
# Set Device A as the NTP server.
[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.
# 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: 60.0002 Hz
Actual frequency: 60.0002 Hz
Clock precision: 2^18
Clock offset: 0.66 ms
Root delay: 27.47 ms
Root dispersion: 208.39 ms
Peer dispersion: 9.63 ms
Reference time: 17:03:32.022 UTC Thu Sep 7 2006 (BF422AE4.05AEA86C)
The output information indicates that the clock of Device C is synchronized to that of Device B and the
stratum level of its local clock is 2, one level lower than Device B.