Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring a PTP Primary Boundary Clock

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

Note:

ACX5048 and ACX5096 routers do not support ordinary and boundary clock.

To configure a PTP primary boundary clock, complete the following tasks:

Configuring the PTP Primary Boundary Clock Parameters

To configure the parameters of a PTP primary boundary clock:

  1. Configure the clock mode.
  2. Configure the primary 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 primary 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 PTP clients and slaves.

    For details about configuring the parameters for the primary boundary clock interface, see Configuring a PTP Primary Boundary Clock Interface

  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 primary boundary clock sends synchronization messages to manual clock clients as specified in the syn-interval-value statement.

After you have configured the PTP primary boundary clock parameters, enter the commit command from configuration mode. To complete the configuration of the primary boundary clock, complete Configuring a PTP Primary Boundary Clock Interface.

Configuring a PTP Primary Boundary Clock Interface

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

To configure a PTP primary boundary clock interface:

  1. Configure the interface on which to respond to downstream PTP slaves or 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 clients.
  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 primary clock. You can configure up to 512 clients for each primary boundary clock.
    Note:

    You can configure the maximum number of clients (512 ) in the following combination:

    • Automatic clients 256.

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

    Note:

    When you toggle from a secure client to an automatic client or vice versa in the PTP configuration of a boundary clock, you need to delete the existing PTP configuration and issue the commit command, and then you add a new PTP configuration and issue the commit command.

  4. Configure the IP address of the interface acting as the local PTP primary.
  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 primary 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 primary clock interface, enter the commit command from configuration mode.