H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 34
26
# Specify Device A as the NTP server of Device B.
[DeviceB] ntp-service unicast-server 3.0.1.31
3.
Display the NTP status of Device B after clock synchronization.
[DeviceB] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 3.0.1.31
Nominal frequency: 100.0000 Hz
Actual frequency: 100.0000 Hz
Clock precision: 2^18
Clock offset: -21.1982 ms
Root delay: 15.00 ms
Root dispersion: 775.15 ms
Peer dispersion: 34.29 ms
Reference time: 15:22:47.083 UTC Sep 19 2013 (C6D95647.153F7CED)
The output shows that Device B has synchronized to Device A because it has a higher stratum than
Device A.
4.
Configure Device C (after Device B is synchronized to Device A):
# Configure Device C as a symmetric peer after local synchronization.
[DeviceC] ntp-service unicast-peer 3.0.1.32
The output shows that Device B and Device C are configured as symmetric peers, with Device C in
symmetric-active mode and Device B in symmetric-passive mode. Because the stratus level of
Device C is 16 while that of Device B is 3, Device B synchronizes to Device C.
# Display the NTP status of Device C after clock synchronization.
[DeviceC] display ntp-service status
Clock status: synchronized
Clock stratum: 4
Reference clock ID: 3.0.1.32
Nominal frequency: 100.0000 Hz
Actual frequency: 100.0000 Hz
Clock precision: 2^18
Clock offset: -21.1982 ms
Root delay: 15.00 ms
Root dispersion: 775.15 ms
Peer dispersion: 34.29 ms
Reference time: 15:22:47.083 UTC Sep 19 2013 (C6D95647.153F7CED)
The output shows that Device C has synchronized to Device B because it has a higher stratum than
Device B.
# Display NTP session information for Device C.
[DeviceC] display ntp-service sessions
source reference stra reach poll now offset delay disper
********************************************************************************
[12345] 3.0.1.32 3.0.1.31 3 3 64 16 -6.4 4.8 1.0
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations : 1
The output shows that an association has been set up between Device B and Device C.