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

S12700 V200R010C00 Configuration Guide - Device Management

This document describes the principles and configurations of the Device Management features, and provides configuration examples of these features.
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).
(Optional) Configuring PTP Message Attributes

(Optional) Configuring PTP Message Attributes

Context

PTP devices periodically send or receive PTP messages to establish the master-slave hierarchy and transmit time information. PTP messages include Announce messages and Delay messages. Announce messages are used to exchange time synchronization information between PTP devices and finally establish the master-slave hierarchy. Delay messages are event messages, which are timestamped when reaching or leaving a PTP device to measure the link delay.

If a PTP device requires high-precision clock synchronization and needs to track the master clock frequency, reduce the interval for sending PTP messages. However, more bandwidth resources are occupied. When the sending link delay and receiving link delay are different, you can configure correction for sending or receiving PTP messages to correct the link delay.

Procedure

  • Configure attributes for Announce messages.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. Run:

      ptp announce-interval announce-interval

      The interval for sending Announce messages on the interface is set to 2announce-interval, in milliseconds.

      The default value of announce-interval is 7, indicating that the interval for sending Announce messages on an interface is 128 ms.

      If announce-interval is set to a small value, PTP devices frequently exchange PTP messages, occupying many bandwidth resources. If announce-interval is set to a large value, high-precision clock synchronization cannot be guaranteed. If required clock synchronization accuracy is guaranteed, set announce-interval to a larger value.

    4. Run:

      ptp announce-receipt-timeout timeout-value

      The timeout period for receiving Announce messages on an interface is set to 2timeout-value, in milliseconds.

      The default value of timeout-value is 9, indicating that the timeout period for receiving Announce messages on an interface is 512 ms.

      When the interval for receiving Announce messages is larger than timeout-value, the local device sets the interface status of the PTP device to Master and does not synchronize the clock with other devices. To ensure that the peer device can correctly receive Announce messages, the value of timeout-value must be larger than the value of announce-interval. Generally, the value of timeout-value is four times the value of announce-interval. That is, the value of timeout-value is 2 larger than the value of announce-interval.

  • Configure attributes for PTP Delay messages.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. Run:

      ptp sync-interval sync-interval

      The interval for sending Sync messages is configured on an interface.

      By default, the interval for sending Sync messages is 1 ms.

    4. Run:

      ptp min-req-interval interval-value

      The interval for sending PdelayReq and DelayReq messages on the interface is set to 2interval-value, in milliseconds.

      The default value of interval-value is 7, indicating that the interval for sending PdelayReq and DelayReq messages on the interface is 128 ms.

    5. Run:

      ptp asymmetry-correction { positive | negative } asymmetry-correction

      The asymmetric correction for sending PTP event messages is configured on the interface.

      By default, PTP devices consider that the sending link delay and receiving link delay are the same, so no asymmetric correction for sending PTP event messages is configured.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142080

Views: 108468

Downloads: 141

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