Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure PTP TimeTransmitter Clock

This topic talks about configuring PTP timeTransmitter boundary clock interface and parameters.

A Precision Time Protocol (PTP) timeTransmitter clock in either boundary or ordinary clock mode sends PTP messages to the timeReceiver clocks so that they can establish their relative time offset from this timeTransmitter’s clock or clock reference. You cannot configure an ordinary timeTransmitter clock on a device. The timeTransmitter boundary clock synchronizes time through a boundary timeReceiver port. To configure a timeTransmitter boundary clock, you must include the boundary statement at the [edit protocols ptp clock-mode] hierarchy level and at least one timeTransmitter with the master statement and at least one timeReceiver with the slave statement at the [edit protocols ptp] hierarchy level. ACX5048 and ACX5096 routers do not support ordinary and boundary clock.

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

Configure PTP TimeTransmitter Boundary Clock Parameters

To configure the parameters of a PTP timeTransmitter boundary clock:

  1. Configure the clock mode.
  2. Configure the timeTransmitter clock.
  3. (Optional) Specify the log mean interval between announce messages—from 0 through 4. By default, one announce message is sent every two seconds. This configuration is used for manual clock clients. The timeTransmitter boundary clock sends announce messages to manual clock clients as specified in the announce-interval value.
  4. Configure the interface on which to respond to downstream clock clients and timeReceiver clocks.
  5. (Optional) Specify the maximum log mean interval between announce messages—from 0 through 4. The default value is 4.
  6. (Optional) Specify the maximum log mean interval between delay-response messages—from –7 through 4. The default value is 4.
  7. (Optional) Specify the maximum log mean interval between synchronization messages—from –7 through 4. The default value is 4.
  8. (Optional) Specify the minimum log mean interval between announce messages—from –0 through 4. The default value is 0.
  9. (Optional) Specify the minimum log mean interval between delay-response messages—from –7 through 4. The default value is –7.
  10. (Optional) Specify the minimum log mean interval between synchronization messages—from –7 through 4. The default value is –7.
  11. (Optional) Specify the log mean interval between synchronization messages—from –7 through 4. The default value is –6. This configuration is used for manual clock clients. The timeTransmitter boundary clock sends synchronization messages to manual clock clients as specified in the syn-interval-value statement.

After you have configured the PTP timeTransmitter clock parameters, enter the commit command from configuration mode.

Configure a PTP TimeTransmitter Clock Interface

After you have configured the timeTransmitter clock parameters, complete the configuration of the timeTransmitter clock by configuring an interface to act in the role of the timeTransmitter clock.

To configure a PTP timeTransmitter clock interface:

  1. Configure the interface on which to respond to downstream PTP timeReceiver clocks or clock clients.
    Note:

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

  2. On this interface, configure downstream PTP timeReceiver clocks.
  3. Configure the IP address of the remote PTP host, or configure a subnet mask so that any host belonging to that subnet can join the timeTransmitter clock. You can configure up to 512 timeReceiver clocks for each timeTransmitter boundary clock.
    Note:
    • You can configure the maximum number of timeReceiver clocks (512) in the following combination:

      • Automatic timeReceiver clocks 256.

      • Manual and secure timeReceiver clocks 256—Any combination of manual and secure timeReceiver clocks is allowed as long as the combined total amounts to 256.

    • You can configure a maximum of 512 timeReceiver clocks in any combination of automatic, manual, and secure timeReceiver clocks for ACX7100 devices on Junos OS Evolved.

    Note:

    If you need to add a new PTP configuration when you toggle from a secure timeReceiver to an automatic timeReceiver or from an automatic timeReceiver to a secure timeReceiver in the PTP configuration of a boundary clock, then you should delete the existing PTP configuration and issue the commit command. After which, you can add a new PTP configuration and issue the commit command.

  4. Configure the IP address of the interface acting as the local PTP timeTransmitter.
  5. (Optional) When the unicast-negotiation statement is configured at the [edit protocols ptp] hierarchy level, configure a clock client to immediately receive announce and synchronization messages from the timeTransmitter boundary clock without unicast negotiation.
  6. Specify the encapsulation type for PTP packet transport—IPv4. This statement is mandatory.

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