< Home

(Optional) Configuring 1588v2 Message Attributes

Context

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

If a 1588v2 device requires high-precision clock synchronization and needs to trace the master clock frequency, reduce the interval for sending 1588v2 messages. However, this consumes more bandwidth resources. If the sending link delay and receiving link delay are different, you can configure correction for sending or receiving 1588v2 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, 1588v2 devices frequently exchange 1588v2 messages, consuming more bandwidth resources. If announce-interval is set to a large value, high-precision clock synchronization cannot be guaranteed; however, clock synchronization accuracy can be guaranteed.

    4. Run ptp announce receipt-timeout timeout-value

      The maximum number of timeouts for receiving Announce messages is set.

      By default, the maximum number of timeouts for receiving Announce messages is 3.

  • Configure attributes for 1588v2 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 8 ms.

    4. Run ptp min-delayreq-interval min-delayreq-interval

      The interval for sending DelayReq messages on the interface is set to 2min-delayreq-interval, in milliseconds.

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

    5. Run ptp min-pdelayreq-interval min-pdelayreq-interval

      The interval for sending PdelayReq messages on the interface is set to 2min-pdelayreq-interval, in milliseconds.

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

    6. Run ptp asymmetry-correction { positive | negative } asymmetry-correction

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

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

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >