H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 39

Advertising
background image

30

[SwitchC-Vlan-interface2] ntp-service broadcast-server authentication-keyid 88

2.

Configure the AP:

# Configure NTP authentication.

<AP> system-view

[AP] ntp-service authentication enable

[AP] ntp-service authentication-keyid 88 authentication-mode md5 123456

[AP] ntp-service reliable authentication-keyid 88

# Configure the AP to operate in NTP broadcast client mode.

[AP] interface vlan-interface 2

[AP-Vlan-interface2] ntp-service broadcast-client

Now, the AP can receive broadcast messages through VLAN-interface 2, and Switch C can send
broadcast messages through VLAN-interface 2. Upon receiving a broadcast message from Switch C, the

AP synchronizes its clock to that of Switch C.
# Display the NTP status of the AP after clock synchronization.

[AP-Vlan-interface2] display ntp-service status

Clock status: synchronized

Clock stratum: 4

Reference clock ID: 3.0.1.31

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: 8.31 ms

Peer dispersion: 34.30 ms

Reference time: 16:01:51.713 UTC Sep 19 2005 (C6D95F6F.B6872B02)

The output shows that the AP has been synchronized to Switch C, and the clock stratum level of the AP is
4, while that of Switch C is 3.
# Display NTP session information for the AP, which shows that an association has been set up between

the AP and Switch C.

[AP-Vlan-interface2] display ntp-service sessions

source reference

stra reach poll now offset delay disper

**************************************************************************

[1234] 3.0.1.31 127.127.1.0 3 254 64 62 -16.0 32.0 16.6

note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured

Total associations : 1

Advertising
This manual is related to the following products: