Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring a PTP Boundary Clock

This example shows how to configure a Precision Timing Protocol (PTP) boundary clock. A boundary clock must include the configuration of at least one primary and at least one client. The boundary primary receives time from a remote primary through the client, and in turn passes that time on to clock clients, which are in a client relationship to the boundary primary. In this example, you configure a primary, client, clock source, and clock client.

Note:

ACX5048 and ACX5096 routers do not support boundary clock.

Requirements

This example uses the following hardware and software components:

Note:

This example also applies to QFX Series switches. QFX Series switches do not support Gigabit Ethernet interfaces. Instead, configure PTP boundary clock parameters on 10-Gigabit Ethernet interfaces.

  • An ACX Series router

  • Junos OS Release 12.3 or later

Overview

In this example, the client clock or clock client immediately receives announce and synchronization packets after completion of the configuration.

Configuration

Procedure

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them in a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level:

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure a boundary clock without unicast negotiation:

  1. Configure the clock mode.

  2. Configure the client interface.

  3. Configure the upstream unicast PTP primary clock source parameters.

  4. Configure the encapsulation type for PTP packet transport.

  5. Configure the IP address of the primary interface.

  6. Specify the IP address and subnet of the remote PTP host, and the IP address of the local PTP primary interface.

    Note:

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

  7. Configure the encapsulation type for PTP packet transport.

Results

From configuration mode, confirm your configuration by entering the show command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

After you have configured the device, enter the commit command from configuration mode.