- play_arrow Overview
- play_arrow Global Navigation Satellite System (GNSS)
- play_arrow GPS Systems on Routing Platforms
- play_arrow Integrated GNSS on Routing Platforms
- play_arrow GNSS Configuration for Routers Using External GNSS Receiver
- play_arrow Assisted Partial Timing Support (APTS) on Routing Platforms
-
- play_arrow Network Time Protocol
- play_arrow NTP Concepts
- play_arrow NTP Configuration Examples
-
- play_arrow Synchronous Ethernet
- play_arrow Synchronous Ethernet Overview
- play_arrow Synchronous Ethernet on 10-Gigabit Ethernet MIC
-
- play_arrow Clock Synchronization
- play_arrow Clock Synchronization Concepts
- play_arrow Clock Synchronization for ACX Series Routers
- play_arrow Clock Synchronization for MX Series Routers
- play_arrow Clock Synchronization for PTX Series Routers
- play_arrow Centralized Clocking
-
- play_arrow Hybrid Mode
- play_arrow Hybrid Mode Overview
- play_arrow Hybrid Mode and ESMC Quality-Level Mapping
- Configure Hybrid Mode and ESMC Quality-Level Mapping Overview
- Configure Hybrid Mode with Mapping of the PTP Clock Class to the ESMC Quality-Level
- Configure Hybrid Mode with a User-Defined Mapping of the PTP Clock Class to the ESMC Quality-Level
- Example: Configure Hybrid Mode and ESMC Quality-Level Mapping on ACX Series Router
- Example: Configure Hybrid Mode and ESMC Quality-Level Mapping on MX240 Router
-
- play_arrow Configuration Statements and Operational Commands
- play_arrow Appendix
ON THIS PAGE
Example: Configure Ordinary TimeReceiver Clock Without Unicast-Negotiation
This example shows the base configuration of a Precision Time Protocol (PTP) ordinary timeReceiver clock without unicast-negotiation on an ACX Series router.
ACX5048 and ACX5096 routers do not support ordinary clock.
Requirements
This example uses the following hardware and software components:
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.
One ACX Series router
Junos OS Release 12.2 or later
Overview
In this configuration, unicast-negotiation is not configured, so the PTP timeReceiver has no control over the rate of the negotiation. The PTP timeTransmitter (a primary reference clock) must be configured with the parameters of the PTP timeReceiver, such as announce, synchronization, and delay-response packets to control the rate of the negotiation.
The values in this example are for illustration purposes only. You can set the values for each parameter according to your requirements.
Configuration
To configure an ordinary timeReceiver clock without unicast-negotiation, perform these tasks:
The ipv4-dscp
statement is not supported on the QFX10002 switch.
CLI Quick Configuration
set protocols ptp clock-mode ordinary set protocols ptp ipv4-dscp 46 set protocols ptp slave interface ge-0/2/0.0 unicast-mode transport ipv4 set protocols ptp slave interface ge-0/2/0.0 unicast-mode clock-source 12.1.1.4 local-ip-address 12.1.1.5
Configuring an ordinary client clock without unicast-negotiation
Step-by-Step Procedure
Configure the clock mode:
content_copy zoom_out_map[edit protocols ptp] user@host# set clock-mode ordinary
Configure the Differentiated Services code point (DSCP) value for all PTP IPv4 packets originated by the device:
Note:The
ipv4-dscp 46
statement is not supported on QFX Series switches.content_copy zoom_out_map[edit protocols ptp] user@host# set ipv4-dscp 46
Configure the timeReceiver interface:
content_copy zoom_out_map[edit protocols ptp] user@host# edit slave interface ge-0/2/0.0
Configure the unicast transport mode:
content_copy zoom_out_map[edit protocols ptp slave interface ge-0/2/0.0] user@host# set unicast-mode transport ipv4
Configure the clock source:
content_copy zoom_out_map[edit protocols ptp slave interface ge-0/2/0.0] user@host# unicast-mode clock-source 12.1.1.4 local-ip-address 12.1.1.5
Verify the configuration:
content_copy zoom_out_map[edit protocols ptp slave interface ge-0/2/0.0] user@host# top [edit] user@host# edit protocols [edit protocols] user@host# show
See the output for the
show
command in the Results section.
Results
In this example, the PTP timeReceiver on the local interface ge-0/2/0 is assigned a local IP address of 12.1.1.5. Unicast-negotiation is not configured so the PTP timeTransmitter must be explicitly configured with the details of the PTP timeReceiver (12.1.1.5).
[edit protocols] user@host# show ptp { clock-mode ordinary; ipv4-dscp 46; slave { interface ge-0/2/0.0 { unicast-mode { transport ipv4; clock-source 12.1.1.4 local-ip-address 12.1.1.5; } } } }