Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 37
28
Figure 14 Network diagram
Configuration procedure
1.
Configure the device:
# Specify the local clock as the reference source, with the stratum level 2.
[Device] ntp-service refclock-master 2
2.
Configure the AP:
# Enable NTP authentication on the AP.
[AP] ntp-service authentication enable
# Set an authentication key.
[AP] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
# Specify the key as a trusted key.
[AP] ntp-service reliable authentication-keyid 42
# Specify the device as the NTP server of the AP.
[AP] ntp-service unicast-server 1.0.1.11 authentication-keyid 42
Before the AP can synchronize its clock to that of the device, enable NTP authentication for the device.
Perform the following configuration on the device:
# Enable NTP authentication.
[Device] ntp-service authentication enable
# Set an authentication key.
[Device] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
# Specify the key as a trusted key.
[Device] ntp-service reliable authentication-keyid 42
# Display the NTP status of the AP after clock synchronization.
[AP] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 1.0.1.11
Nominal frequency: 100.0000 Hz
Actual frequency: 100.0000 Hz
Clock precision: 2^16
Clock offset: 0.0000 ms
Root delay: 31.00 ms
Root dispersion: 1.05 ms
Peer dispersion: 7.81 ms
Reference time: 14:53:27.371 UTC Sep 19 2005 (C6D94F67.5EF9DB22)
The output shows that the AP has been synchronized to the device, and the clock stratum level of the AP
is 3, while that of the device is 2.