Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Timing and Synchronization Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configure Precision Time Protocol (PTP) Clocking

date_range 20-Dec-24

In a distributed network, you can configure Precision Time Protocol (PTP) timeTransmitter clocks and timeReceiver clocks to help synchronize the timing across the network. The synchronization is achieved through packets that are transmitted and received in a session between the timeTransmitter clock and the timeReceiver clock or clock client.

To configure Precision Time Protocol (PTP) options:

  1. In configuration mode, go to the [edit protocols ptp] hierarchy level.
    content_copy zoom_out_map
    [edit]
    user@host# edit protocols ptp
    
  2. Specify the clock as a boundary or ordinary clock. The boundary option signifies that the clock can be both a timeTransmitter clock and a timeReceiver clock. The ordinary option signifies that the clock is a timeReceiver clock.
    content_copy zoom_out_map
    [edit protocols ptp]
    user@host# set clock-mode (boundary | ordinary)
    
  3. (Optional) Enable PHY Timestamping. The PHY timestamping is disabled by default.
    content_copy zoom_out_map
    [edit protocols ptp]
    user@host# set e2e-transparent
    
  4. (Optional) Configure the PTP domain with values from 0 through 127. The default value is 0.
    content_copy zoom_out_map
    [edit protocols ptp]
    user@host# set domain domain-value
    
  5. (Optional) Specify the DiffServ code point (DSCP) value (0 through 63) for all PTP IPv4 packets originated by the router. The default value is 56.
    content_copy zoom_out_map
    [edit protocols ptp]
    user@host# set ipv4-dscp number
    
  6. Specify the timeTransmitter clock parameters.
    content_copy zoom_out_map
    [edit protocols ptp]
    user@host# set master
    

    For details about configuring the timeTransmitter clock parameters, see .

  7. (Optional) Configure the priority value of the clock (0 through 255). This value is used in selecting the best timeTransmitter clock. The priority1-value is advertised in the timeTransmitter clock’s announce message to clock clients. The default value is 128.
    content_copy zoom_out_map
    [edit protocols ptp]
    user@host# set priority1 priority1-value
    
  8. (Optional) Configure the tie-breaker in selecting the best timeTransmitter clock (0 through 255). The priority2 value differentiates and prioritizes the timeTransmitter clock to avoid confusion when the priority1-value is the same for different timeTransmitter clocks in a network. The default value is 128.
    content_copy zoom_out_map
    [edit protocols ptp]
    user@host# set priority2 priority2-value
    
  9. Specify the PTP timeReceiver clock parameters.
    content_copy zoom_out_map
    [edit protocols ptp]
    user@host# set slave
    

    For information about configuring the timeReceiver clock options, see

  10. (Optional) Enable unicast negotiation. Unicast negotiation is a method by which the announce, synchronization, and delay response packet rates are negotiated between the timeTransmitter clock and the clock client before a PTP session is established.
    content_copy zoom_out_map
    [edit protocols ptp]
    user@host# set unicast-negotiation
    
    Note:

    Unicast negotiation, when enabled, does not allow you to commit packet rate–related configurations.

footer-navigation