Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring the Precision Time Protocol Enterprise Profile

Note:

When you enable the enterprise profile, you cannot enable any other profile. Also, unicast negotiation is disabled when you enable the enterprise profile.

Configuring Precision Time Protocol and its Options

This topic includes the following tasks:

Configuring PTP Options

To configure PTP options:

  1. In configuration mode, go to the [edit protocols ptp] hierarchy level:
  2. Configure the clock mode as either boundary or ordinary. This attribute is mandatory and has no default value.

    The boundary option signifies that the clock can be both a primary clock and a client clock. The ordinary option signifies that the clock is either a primary clock or a client clock.

  3. Configure the profile type as enterprise. This attribute is mandatory.
  4. (Optional) Configure the PTP domain option with values from 0 through 127. The default value is 0.
  5. (Optional) Configure the priority1 option with values from 0 through 255. The default value is 128.

    The priority1 value determines the best primary clock. The priority1-value is also advertised in the primary clock’s announce message to other slaves.

  6. (Optional) Configure the priority2 option with values from 0 through 255. The default value is 128.

    The priority2 value differentiates and prioritizes the primary clock to avoid confusion when priority1-value is the same for different primary clocks in a network.

Configuring Member Clock Options

Configure the following options after the aforementioned PTP options have been set.

  1. Configure the client clock.
  2. (Optional) Configure the delay-request option in the client node with values from –7 through 7. The default value is 0.

    The delay request value is the logarithmic mean interval in seconds between the delay request messages sent by the client to the primary.

  3. Configure the interface for the client.
  4. Configure the multicast-mode option for the client. You can set this option when PTP multicast mode of messaging is needed.
  5. Configure the transport option in multicast mode as IPv4.

    The encapsulation type for PTP packet transport is IPv4.

  6. Configure the IP address of the local logical interface.

Configuring Primary Clock Options

Configure the following options after the aforementioned PTP options and client clock options have been set.

  1. Configure the primary clock.
  2. (Optional) Configure the delay-req-timeout option for the primary.

    The maximum timeout for delay request messages is between 30 and 300 seconds. We recommend 30 seconds.

  3. Configure the interface for the primary.
  4. Configure the multicast-mode option for the primary. You can set this option when PTP multicast mode of messaging is needed.
  5. Configure the transport option in multicast mode as IPv4.

    The encapsulation type for PTP packet transport is IPv4.

  6. Configure the IP address of the interface acting as the local PTP primary port.

    If the primary clock connection is through a 1-Gigabit Ethernet interface, configure the interface named ptp0 interface.

    This interface is named ptp0 by default.