beautypg.com

Ntp configuration task list, Configuring the operation modes of ntp – H3C Technologies H3C S5120 Series Switches User Manual

Page 556

background image

1-7

Figure 1-6 Multicast mode

Network

Client

Server

After receiving the first

multicast message, the

client sends a request

Clock synchronization message

exchange (Mode 3 and Mode 4)

Periodically multicasts clock

synchronization messages (Mode 5)

Calculates the network delay

between client and the server

and enters the multicast

client mode

Periodically multicasts clock

synchronization messages (Mode 5)

Receives multicast

messages and synchronizes

its local clock

In the multicast mode, a server periodically sends clock synchronization messages to the

user-configured multicast address, or, if no multicast address is configured, to the default NTP multicast

address 224.0.1.1, with the Mode field in the messages set to 5 (multicast mode). Clients listen to the

multicast messages from servers. After a client receives the first multicast message, the client and the

server start to exchange messages, with the Mode field set to 3 (client mode) and 4 (server mode) to

calculate the network delay between client and the server. Then, the client enters the multicast client

mode and continues listening to multicast messages, and synchronizes its local clock based on the

received multicast messages.

In symmetric peers mode, broadcast mode and multicast mode, the client (or the symmetric active peer)

and the server (the symmetric passive peer) can work in the specified NTP working mode only after

they exchange NTP messages with the Mode field being 3 (client mode) and the Mode field being 4

(server mode). During this message exchange process, NTP clock synchronization can be

implemented.

NTP Configuration Task List

Complete the following tasks to configure NTP:

Task

Remarks

Configuring the Operation Modes of NTP

Required

Configuring Optional Parameters of NTP

Optional

Configuring Access-Control Rights

Optional

Configuring NTP Authentication

Optional

Configuring the Operation Modes of NTP

Devices can implement clock synchronization in one of the following modes: