No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Basic NTP Functions

Configuring Basic NTP Functions

This section describes how to configure basic NTP functions.

Usage Scenario

Select a proper mode based on the networking topology to meet various clock synchronization requirements.

In mode and peer mode, NTP packets can have the same source IP address.

Table 5-1 shows the NTP operating modes that the NE20E supports.

Table 5-1 NTP operating mode

Operating Mode

Location and Synchronization Direction

Working Principle

Client/server mode

Configure only on the client. The server needs to be configured with only one NTP master clock.

The client can be synchronized with the server but the server cannot be synchronized with the client.

  1. The client sends a synchronization request packet to the server, with the mode field set to 3. The value 3 indicates the client mode.

  2. Upon receiving the request packet, the server automatically works in the server mode and sends a response packet with the mode field being set to 4. The value 4 indicates the server mode.

  3. After receiving the response packet, the client performs clock filtering and selection, and finally, is synchronized with the optimal server.

Peer mode

Configure NTP only on the symmetric active end. The symmetric active end and symmetric passive end can be synchronized.

The end with a lower stratum (larger stratum number) is synchronized to the end with a higher stratum (smaller stratum number).

  1. The symmetric active end sends a synchronization request packet to the symmetric passive end with the mode field being set to 1. (The value 1 indicates the symmetric active mode.)

  2. Upon receiving the request packet, the symmetric passive end automatically works in symmetric passive mode and sends a response packet with the mode field being set to 2. (The value 2 indicates the symmetric passive mode.) Symmetric passive also forms a dynamic session with symmetric active.

Broadcast mode

Configure NTP on both the server and the client.

The client can be synchronized with the server but the server cannot be synchronized with the client.

  1. The server periodically sends clock-synchronization packets to the broadcast address 255.255.255.255.

  2. The client listens to the broadcast packets from the server.

  3. After receiving the first broadcast packet, the client temporarily starts in the client/server mode to exchange packets with the server. This allows the client to estimate the network delay.

  4. The client then reverts to the broadcast mode, continues to listen to the broadcast packets, and re-synchronizes the local clock according to the received broadcast packets.

Multicast mode

Configure NTP on both the server and the client.

The client can be synchronized with the server but the server cannot be synchronized with the client.

  1. The server periodically sends clock-synchronization packets to the configured multicast IP address.

  2. The client listens to the multicast packets sent from the server.

  3. After receiving the first multicast packet, the client temporarily starts in the client/server mode to exchange packets with the server. This allows the client to estimate the network delay.

  4. The client then reverts to the multicast mode, continues to listen to the multicast packets, and re-synchronizes the local clock according to the received multicast packets.

Pre-configuration Tasks

Before configuring basic NTP functions, complete the following tasks:

  • Configure the link layer protocol for the interface.

  • Configure an IP address and a routing protocol for the interface to ensure that NTP packets can reach destinations.

Configuration Procedures

Figure 5-1 Flowchart for configuring basic NTP functions
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055400

Views: 20472

Downloads: 30

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next