beautypg.com

Displaying and maintaining ntp, Ntp configuration examples, Configuring ntp client/server mode – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 31: Network requirements, Configuration procedure

background image

22

Displaying and maintaining NTP

Task Command

Remarks

Display information about NTP
service status.

display ntp-service status [ |
{ begin | exclude | include }

regular-expression ]

Available in any view.

Display information about NTP
sessions.

display ntp-service sessions
[ verbose ] [ | { begin | exclude |

include } regular-expression ]

Available in any view.

Display brief information about the
NTP servers from the local device

back to the primary reference
source.

display ntp-service trace [ | { begin
| exclude | include }

regular-expression ]

Available in any view.

NTP configuration examples

NOTE:

Unless otherwise specified, the examples in this section apply to all access points (APs) that support NTP.

Configuring NTP client/server mode

Network requirements

Configure NTP to synchronize the time between the device and the AP in

Figure 11

.

Use the local clock of the device as a reference source, with the stratum level 2.

Set the AP in client/server mode, and use the device as the NTP server of the AP.

Figure 11 Network diagram

Configuration procedure

1.

Configure the device:

# Specify the local clock as the reference source, with the stratum level 2.

system-view

[Device] ntp-service refclock-master 2

2.

Configure the AP:

# Display the NTP status of the AP before clock synchronization.

display ntp-service status

Clock status: unsynchronized

Clock stratum: 16

This manual is related to the following products: