Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring Enterprise Profile for the Precision Time Protocol

 

You can configure enterprise profile for PTP by configuring the profile-type at the [edit protocols ptp] hierarchy which must be set to the enterprise profile, and then the transport type must be set for IPv4 multicast.

The following is the CLI configuration hierarchy to configure enterprise profile for PTP:

The following is a sample minimum required configuration to run an enterprise profile:

user@host# set protocols ptp clock-mode boundary;
user@host# set protocols ptp profile-type enterprise-profile;
user@host# set protocols ptp slave interface ge-0/1/0.0 multicast-mode transport ipv4;
user@host# set protocols ptp slave interface ge-0/1/0.0 multicast-mode local-ip-address 198.51.100.1;
user@host# set protocols ptp master interface ge-0/2/0.0 multicast-mode transport ipv4;
user@host# set protocols ptp master interface ge-0/2/0.0 multicast-mode local-ip-address 198.51.100.10;

The following parameter ranges are applicable if the profile-type is enterprise:

The following values can be configured:

  • priority1—Range from 0 to 255. Default value for priority1 is 128.

  • priority2—Range from 0 to 255. Default value for priority2 is 128.

  • Domain number—Range from 0 to 127. Default value for domain number is 0.

  • Clock-mode—Configured as ordinary or boundary.

  • Delay-Request—Range from -7 to +7 (-127 PPS to +127 PPS). Default value is 0 (1 PPS).

  • Sync-interval—Range from -7 to +7 (-127 PPS to +127 PPS). Default value is 0 (1 PPS).

The following values cannot be configured:

  • unicast-negotiation

  • Announce-interval—Default value is 0 (1 PPS).

  • Announce-timeout—The Announce Receipt Timeout Interval is three announce intervals for preferred masters and four announce intervals for all other masters. All masters are treated as preferred masters and so the Announce Receipt Timeout Interval is set to three announce intervals.

You can use the following CLI commands to monitor the enterprise profile configurations:

show ptp global-information

user@host> show ptp global-information

show ptp slave detail

user@host> show ptp slave detail

show ptp master detail

user@host> show ptp master detail

The following is a sample output of show ptp statistics CLI command showing statistics for each remote device:

show ptp statistics detail

user@host> show ptp statistics detail