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

Configuration Guide - Device Management

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Device Management, including device status query, hardware management, Stack, SVF, cloud-based management, PoE, monitoring interface, OPS, 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 a 1588v2 Clock Source

Configuring a 1588v2 Clock Source

Context

After external time signal input is configured on multiple 1588v2 devices, you can configure clock source attributes to allow the 1588v2 clock sources to participate in BMC calculation. The BMC algorithm allows the 1588v2 devices to dynamically determine the master clock. The master clock provides time signals to the entire 1588v2 network so that the 1588v2 devices use 1588v2 to obtain clock information from the grandmaster clock.

After dynamic BMC calculation is implemented, the 1588v2 devices select a clock source based on the following order: priority1 > clock-class > clock-accuracy > priority2. That is, priority1 of the clock sources is compared first. If the priority1 values of these 1588v2 devices are the same, the clock-class is compared. The clock source with the highest priority is selected as the master clock.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Configure clock source attributes on all nodes. Generally, clock source attributes need to be configured only on the grandmaster. After the grandmaster selects the optimal clock source, the associated attributes are transmitted to lower-layer devices through Announce messages. In case of special requirements, configure time source attributes for other nodes.

    • Run ptp clock-source local time-source time-source slot slot-id

      The type of the clock source to be traced is configured.

      NOTE:
      The time-source parameter can be configured only on the grandmaster clock and must be set according to the clock source connected to the device. For details about the time-source parameter and corresponding clock source, see Command Reference.
    • Run ptp clock-source local clock-accuracy clock-accuracy slot slot-id

      The clock accuracy of the clock source is configured.

    • Run ptp clock-source local clock-class clock-class slot slot-id

      The class of the clock source is configured.

      NOTE:
      A smaller clock-class value indicates a higher class. A device whose clock class value is smaller than 128 cannot function as a slave clock. Therefore, do not set a high clock class for a slave clock. Otherwise, the PTP interface of the slave clock cannot enter the slave state, and the device cannot synchronize with the master clock.
    • Run ptp clock-source local priority1 priority1 slot slot-id

      The priority1 value is set for the clock source.

    • Run ptp clock-source local priority2 priority2 slot slot-id

      The priority2 value is set for the clock source.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065674

Views: 43854

Downloads: 372

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