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


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


Configuration Guide - Device Management

S9300, S9300E, and S9300X V200R012C00

This document describes the configurations of Device Management, including device status query, hardware management, CSS, SVF, PoE, OPS, OIDS, energy-saving management, information center, fault management, NTP, synchronous ethernet, PTP.
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 an NTP Primary Clock

Configuring an NTP Primary Clock


The clock of a network device can be synchronized using the local clock or by using the clock of another network device as a reference clock.

If both methods are enabled, the device selects the optimal clock source by selecting the clock with the lower stratum.

For a synchronization subnet, an authoritative clock is used as a reference time source and is at the top of the synchronization subnet hierarchy. The authoritative clock is stratum0. The current authoritative clock is typically a radio clock or GPS. The authoritative clock is synchronized through the broadcast Coordinated Universal Time (UTC) time code rather than NTP.

In typical applications, the NTP server synchronized with the authoritative clock is set as stratum1. The NTP server is used as the master reference clock source if the local clock of the NTP server is configured as the NTP primary clock. The stratum of the clock on a network device is determined by its NTP distance to the master reference clock source. Typically, this distance is determined by the number of NTP servers which compose the NTP synchronization chain.

Figure 11-10 shows a typical NTP synchronization subnet. SwitchA is the primary clock with stratum 1. The clock synchronization direction is SwitchA —> SwitchB —> SwitchC. Only after SwitchB synchronizes with SwitchA, can SwitchC synchronize with SwitchB. After all the devices are synchronized, SwitchB is stratum 2 and SwitchC is stratum 3.
Figure 11-10  NTP synchronization subnet

When the local clock is configured as the reference clock, the local device clock can be used to synchronize other device clocks on the network. Ensure there are no conflicts with this configuration to avoid network errors.


  1. Run system-view

    The system view is displayed.

  2. Run ntp-service refclock-master [ ip-address ] [ stratum ]

    The local clock is configured as the NTP primary clock.

    By default, an NTP primary clock is not specified.

Updated: 2018-09-03

Document ID: EDOC1100038289

Views: 42356

Downloads: 15

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