Configuring ntp broadcast mode with authentication, Network requirements, Configuration procedure – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 38
29
# Display NTP session information for the AP, which shows that an association has been set up between
the AP and the device.
[AP] display ntp-service sessions
source reference stra reach poll now offset delay disper
**************************************************************************
[12345] 1.0.1.11 127.127.1.0 2 63 64 3 -75.5 31.0 16.5
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations : 1
Configuring NTP broadcast mode with authentication
Network requirements
As shown in
, Switch C functions as the NTP server for multiple devices on different network
segments and synchronizes the time among multiple devices.
•
Switch C's local clock is to be used as a reference source, with the stratum level 3.
•
Switch C operates in broadcast server mode and sends out broadcast messages from
VLAN-interface 2.
•
The AP operates in broadcast client mode and receives broadcast messages through
VLAN-interface 2.
•
NTP authentication is enabled on both Switch C and the AP.
Figure 15 Network diagram
Configuration procedure
1.
Configure Switch C:
# Specify the local clock as the reference source, with the stratum level 3.
[SwitchC] ntp-service refclock-master 3
# Configure NTP authentication.
[SwitchC] ntp-service authentication enable
[SwitchC] ntp-service authentication-keyid 88 authentication-mode md5 123456
[SwitchC] ntp-service reliable authentication-keyid 88
# Specify Switch C as an NTP broadcast server, and specify an authentication key.
[SwitchC] interface vlan-interface 2