Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure PTP TimeReceiver Clock

This topic talks about configuring interface and parameters for the PTP timeReceiver clock.

The timeReceiver port that you configure can be a Precision Time Protocol (PTP) boundary or ordinary clock, depending on the configuration of the clock-mode statement at the [edit protocols ptp] hierarchy level. An ordinary or boundary client clock performs frequency and phase recovery based on received and requested timestamps from a timeTransmitter clock—a grandmaster clcok or a boundary clock timeTransmitter.

Note:

In ACX Series routers, the grandmaster clock functionality is supported only on ACX500 router.

To configure a PTP timeReceiver clock, complete the following tasks:

Configure the PTP TimeReceiver Clock Parameters

To configure a PTP timeReceiver clock parameters:

Note:

The clock-class-to-quality-level-mapping quality-level, convert-clock-class-to-quality-level, and grant-duration statements are not supported on the QFX10002 switch.

  1. Configure the clock mode:
  2. Configure the timeReceiver clock.
  3. (Optional) Specify the rate of announce messages that a PTP timeReceiver requests from the timeTransmitter during a unicast-negotiation session—from 0 through 4. The default value is 1.
    Note:

    The configuration of the announce-interval statement is effective only when the unicast-negotiation statement is also configured at the [edit protocols ptp] hierarchy level.

  4. (Optional) Specify the number of announce messages that a timeReceiver—configured on an ACX Series router—must miss before an announce timeout is declared—from 2 through 10. The default value is 3.
  5. (Optional) Override the default PTP clock class to Ethernet Synchronization Message Channel (ESMC) mapping and specify the quality level for the PTP timing source.
  6. (Optional) Enable retrieval of ESMC information from the PTP clock class.
  7. (Optional) Specify the logarithmic mean interval in seconds between the delay request messages sent by the timeReceiver to the timeTransmitter—from –6 through 3. The default value is 0.
  8. (Optional) Specify the grant duration value. When unicast negotiation is enabled, the local PTP timeReceiver requests announce, synchronization, and delay-response messages from the timeTransmitter. In each request, the timeReceiver asks for the packets to be sent at a specified rate and the timeReceiver provides a duration for which the rate is valid. The grant-duration value is specified in seconds. The default grant duration is 300 seconds.
  9. Configure the interface for the timeReceiver.

    For details about configuring the timeReceiver clock interface, see Configure the PTP TimeReceiver Clock Interface.

  10. (Optional) Configure the log mean interval between synchronization messages—from –6 through -3. The default value is –6 or 64 synchronous interval messages sent per second

After you have configured the PTP timeReceiver clock parameters, enter the commit command from configuration mode. To complete the configuration of the timeReceiver clock, complete Configure the PTP TimeReceiver Clock Interface.

Configure the PTP TimeReceiver Clock Interface

The timeReceiver clock interface responds to the upstream PTP timeTransmitter clock.

To configure the PTP timeReceiver clock interface:

  1. Configure the interface for the timeReceiver clock.
    Note:

    On the QFX Series, you can configure an aggregated Ethernet interface and its configured IP address for PTP streams acting as timeReceiver clocks or timeTransmitters.

    For example, to configure a timeReceiver using an aggregated Ethernet interface:

    Note:

    On the QFX Series, you can configure a loopback interface (there is only one loopback interface, and it is lo0.0) and its corresponding IP addresses for PTP streams acting as timeReceiver clocks or timeTransmitters. Although the loopback interface is the same for both timeTransmitters and timeReceiver clocks, the IP addresses must be unique.

    For example, to configure a timeReceiver using the loopback interface:

  2. Configure the upstream unicast PTP timeTransmitter clock source parameters.
  3. Configure the IP address of the timeTransmitter, which acts as a source of time for this timeReceiver.
    Note:

    To configure additional timeTransmitter clock sources for the timeReceiver, include the clock-source statement up to four times. However, synchronization is to only one timeTransmitter clock.

  4. Specify the IP address of the interface acting as the local PTP timeReceiver port.
    Note:

    For the configuration to work, the interface you specify must be configured with this IP address at the [edit interfaces interface-name] hierarchy level.

  5. Configure the encapsulation type for PTP packet transport. This statement is mandatory.

After you have configured the PTP timeReceiver clock interface, enter the commit command from configuration mode.