Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring PTP Multicast Primary and Member Ports for Ethernet Encapsulation

On an ACX Series router, you can configure a Precision Time Protocol (PTP) primary boundary clock with IEEE 802.3 or Ethernet encapsulation of 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. PTP over Ethernet uses multicast addresses for communication of PTP messages between the client clock and the primary clock. The client clock automatically learns of primary clocks in the network, is immediately able to receive the multicast messages from the primary clock, and can begin sending messages to the primary clock without any pre-provisioning. The primary boundary clock synchronizes time through a client boundary port.

To configure PTP over Ethernet with multicast primary and client ports, you must include the multicast-mode transport ieee-802.3 statement at the [edit protocols ptp master interface interface-name] and [edit protocols ptp slave interface interface-name] hierarchy levels, respectively.

To configure a PTP over Ethernet primary boundary clock and client boundary clock for multicast transmission, complete the following tasks:

Configuring the PTP over Ethernet Primary Boundary Clock Parameters

To configure the parameters of a PTP over Ethernet 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 or client ports.

    For details about configuring the parameters for the primary boundary clock interface, see Configuring the PTP over Ethernet 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 the PTP over Ethernet Primary Boundary Clock Interface.

Configuring the PTP over Ethernet Primary Boundary Clock Interface

After you configured the primary boundary clock parameters for PTP over Ethernet with multicast transmission of PTP traffic, 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 over Ethernet primary boundary clock interface:

  1. Configure the interface on which to respond to downstream PTP client ports 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 multicast as the transmission mode of traffic for PTP clients.
  3. Specify the encapsulation type for PTP packet transport as Ethernet or IEEE 802.3. This statement is mandatory.

    Alternatively, specify the encapsulation type as Ethernet with the link-local multicast address to be used in the sending of PTP messages. If you specify the link-local attribute, the primary clock chooses either of the two MAC addresses defined in the IEEE 1588-2008 standard. When you configure this option, the system attempts to use the 01 -80-C2-00-00-0E MAC address (link-local multicast MAC address) for multicast transmission. If this MAC address is not available, the 01-1B-19-00-00-00 address (standard Ethernet multicast address) is used as the second priority. The standard Ethernet multicast address is used by default. You need to explicitly configure the link-local multicast address.

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

Configuring the PTP over Ethernet Member Clock Parameters

An interface on which the primary clock is configured is called a primary interface and an interface on which the client clock is configured is called a client interface. A primary interface functions as the primary port and a client interface functions as the client port. Because PTP over Ethernet uses multicast addresses, a client port can automatically start receiving the multicast announce messages transmitted by the primary ports on a network and can also start communication with the primary port with minimal or no configuration. You can optionally configure these settings for a client port that communicates with the primary ports using PTP over Ethernet.

To configure a PTP over Ethernet client clock.

  1. Configure the clock mode:
  2. Configure the client clock.
  3. (Optional) Specify the number of announce messages that a client clock or port—configured on an ACX Series router—must miss before an announce timeout is declared—from 2 through 10. The default value is 3.
  4. (Optional) Specify the logarithmic mean interval in seconds between the delay request messages sent by the client port to the primary port—from –6 through 3. The default value is 0.
  5. Configure the interface for the client clock.
  6. (Optional) Configure the log mean interval between synchronization messages—from –6 through -3. The default value is –6, which means by default, 64 synchronous interval messages sent per second.

After you have configured the PTP client clock parameters, enter the commit command in configuration mode. To complete the configuration of the client clock, complete Configuring the PTP over Ethernet Member Clock Interface

Configuring the PTP over Ethernet Member Clock Interface

The client clock interface responds to the upstream PTP primary clock.

To configure the PTP client clock interface:

  1. Configure the interface for the client clock.
  2. Configure the upstream multicast PTP primary clock source parameters.
  3. Specify the encapsulation type for PTP packet transport as Ethernet or IEEE 802.3. This statement is mandatory.

    Alternatively, specify the encapsulation type as Ethernet with the link-local multicast address to be used in the sending of PTP messages. If you specify the link-local attribute, the primary clock chooses either of the two MAC addresses defined in the IEEE 1588-2008 standard. When you configure this option, the system attempts to use the 01 -80-C2-00-00-0E MAC address (link-local multicast MAC address) for multicast transmission. If this MAC address is not available, the 01-1B-19-00-00-00 address (standard Ethernet multicast address) is used as the second priority. The standard Ethernet multicast address is used by default. You need to explicitly configure the link-local multicast address.

After you have configured the PTP over Ethernet client clock interface, enter the commit command in configuration mode.