beautypg.com

Configuring ntp client/server mode, Configuring the ntp symmetric peers mode – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 24

background image

15

NOTE:

A single device can have a maximum of 128 associations at the same time, including static associations
and dynamic associations.

A static association refers to an association that a user has manually created by using an NTP
command.

A dynamic association is a temporary association created by the system during operation. A dynamic
association is removed if the system fails to receive messages from it over a specific long time.

In client/server mode, for example, when you execute a command to synchronize the time to a server,
the system creates a static association, and the server just responds passively upon the receipt of a
message, rather than creating an association (static or dynamic). In symmetric mode, static associations

are created at the symmetric-active peer side, and dynamic associations are created at the

symmetric-passive peer side. In broadcast or multicast mode, static associations are created on the
server, and dynamic associations are created on the client.

Configuring NTP client/server mode

For devices operating in client/server mode, make configurations on the clients.
To configure an NTP client:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Specify an NTP server
for the device.

ntp-service unicast-server
{ ip-address | server-name }

[ authentication-keyid keyid |
priority | source-interface

interface-type

interface-number | version
number ] *

By default, no NTP server is specified.
The ip-address argument must be a unicast

address, rather than a broadcast address, a

multicast address or the IP address of the local
clock.

NOTE:

When the source interface for NTP messages is specified by the source-interface keyword, the source IP
address of the NTP messages is configured as the primary IP address of the specified interface.

A device can act as a server to synchronize the clock of other devices only after its clock has been
synchronized. If the clock of a server has a stratum level higher than or equal to that of a client's clock,
the client will not synchronize its clock to the server's.

You can configure multiple servers by repeating the ntp-service unicast-server command. The clients
select the optimal reference source.

Configuring the NTP symmetric peers mode

For devices operating in symmetric mode, specify a symmetric-passive peer on a symmetric-active peer.
To configure a symmetric-active device:

This manual is related to the following products: