- play_arrow Overview
- play_arrow Precision Time Protocol
- play_arrow Precision Time Protocol Overview
- play_arrow Precision Time Protocol Clocks
- PTP Boundary Clock Overview
- Example: Configure PTP Boundary Clock
- Example: Configure PTP Boundary Clock With Unicast Negotiation
- Configure PTP TimeTransmitter Clock
- Configure PTP TimeReceiver Clock
- Example: Configure Ordinary TimeReceiver Clock With Unicast-Negotiation
- Example: Configure Ordinary TimeReceiver Clock Without Unicast-Negotiation
- PTP Transparent Clocks
- Configure PTP Transparent Clock
- play_arrow Precision Time Protocol Profiles
- play_arrow PHY Timestamping
- play_arrow Precision Time Protocol over Ethernet
- PTP over Ethernet Overview
- Guidelines to Configure PTP over Ethernet
- Configure PTP Dynamic Ports for Ethernet Encapsulation
- Configure PTP Multicast TimeTransmitter and TimeReceiver Ports for Ethernet Encapsulation
- Example: Configure PTP over Ethernet for Multicast TimeTransmitter, TimeReceiver, and Dynamic Ports
- play_arrow Precision Time Protocol Additional Features
- Precision Time Protocol (PTP) over Link Aggregation Group (LAG)
- Precision Time Protocol (PTP) Trace Overview
- Line Card Redundancy for PTP
- Timing Defects and Event Management on Routing Platforms
- SNMP MIB for Timing on Routing Platforms
- PTP Passive Port Performance Monitoring on PTX10004 and PTX10008 Devices
-
- 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 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
Example: Configure Synchronous Ethernet
You can configure Synchronous Ethernet, which enables you to synchronize clocks between nodes in a network through frequency synchronization.
Example Prerequisites
Hardware requirements | One of MX240, MX480, or MX960 router |
Software requirements | Junos 11.2R4 or later |
Overview
You can configure Synchronous Ethernet, which enables you to synchronize clocks between nodes in a network through frequency synchronization.
You can set the values for each parameter according to your requirement. The values given in this example are for illustration purposes only.
Configuration
CLI Quick Configuration
To quickly configure synchronization on the aforementioned routers, copy the following commands, paste them in a text file, remove any line breaks, and then copy and paste the commands into the CLI.
set chassis synchronization clock-mode auto-select set chassis synchronization network-type option-1 set chassis synchronization quality-mode-enable set chassis synchronization selection-mode configured-quality set chassis synchronization switchover-mode revertive set chassis synchronization hold-interval configuration-change 1 restart 1 switchover 1 set chassis synchronization esmc-transmit interfaces ge-2/0/0 set chassis synchronization source external-a priority 2 quality-level prc request force-switch set chassis synchronization interfaces ge-2/0/0 priority 1 quality-level prc request force-switch wait-to-restore 1
Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the CLI User Guide.
To configure Synchronous Ethernet, perform the following tasks:
Configure the clock mode, network type, quality mode, selection mode, and switchover mode.
content_copy zoom_out_map[edit chassis synchronization] user@host# set clock-mode auto-select network-type option-1 quality-mode-enable selection-mode configured-quality switchover-mode revertive
Configure the hold interval for configuration change, restart interval, and the switchover interval in seconds.
content_copy zoom_out_map[edit chassis synchronization] user@host# set hold-interval configuration-change 1 restart 1 switchover 1
Configure the interfaces for transmitting ESMC.
content_copy zoom_out_map[edit chassis synchronization] user@host# set esmc-transmit interfaces ge-2/0/0
Configure the source node with its quality level, priority, and request type.
content_copy zoom_out_map[edit chassis synchronization] user@host# set source external-a priority 2 quality-level prc request force-switch
Configure the interfaces with priority, quality level, request type, and time to restore the interface to default.
content_copy zoom_out_map[edit chassis synchronization] user@host# set interfaces ge-2/0/0 priority 1 quality-level prc request force-switch wait-to-restore 1
Results
Display the results of the configuration:
user@host# show chassis synchronization { clock-mode auto-select; esmc-transmit { interfaces ge-2/0/0; } hold-interval { configuration-change 1; restart 1; switchover 1; } network-type option-1; quality-mode-enable; selection-mode configured-quality; switchover-mode revertive; source { external-a { priority 2; quality-level prc; request force-switch; } interfaces ge-2/0/0 { priority 1; quality-level prc; request force-switch; wait-to-restore 1; } } }
Verification
Confirm that the configuration is working properly.
- Verify the Basic Parameters for Synchronization
- Verify All the Parameters for Synchronization
- Verify the Global Configuration
- Verify the ESMC Transmit Parameters
- Verify the ESMC Statistics Parameters
- Verify that the ESMC Statistics are Cleared
Verify the Basic Parameters for Synchronization
Purpose
Verify that the basic synchronization parameters such as the current clock status, clock locked to, and configured sources are working as expected.
Action
From operational mode, enter the run show chassis
synchronization
command to display the synchronization
details.
Meaning
The output displays the basic synchronization parameters configured on the interface.
Verify All the Parameters for Synchronization
Purpose
Verify that all the synchronization parameters are working as expected.
Action
From operational mode, enter the run show chassis synchronization
extensive
command to display all the synchronization
details.
Meaning
The output displays all the synchronization parameters configured on the interface.
Verify the Global Configuration
Purpose
Verify that all the global configuration parameters are working as expected.
Action
From operational mode, enter the run show synchronous-ethernet
global-information
command to display the set parameters for
the global configuration.
Meaning
The output displays global information about the configured node.
Verify the ESMC Transmit Parameters
Purpose
Verify that the transmission parameters of ESMC on the interface are working as expected.
Action
From operational mode, enter the run show synchronous-ethernet esmc
transmit detail
command to display the set parameters for the
ESMC transmission.
Meaning
The output displays all the transmission details about the configured ESMC interface.
Verify the ESMC Statistics Parameters
Purpose
Verify the statistics related to ESMC on the interface.
Action
From operational mode, enter the run show synchronous-ethernet esmc
statistics
command to display the statistics for the ESMC
transmission.
Meaning
The output displays information about the ESMC statistics.
Verify that the ESMC Statistics are Cleared
Purpose
Clear the statistics related to ESMC on the interface.
Action
From operational mode, enter the clear synchronous-ethernet esmc
statistics
command to clear the statistics for the ESMC
transmission.
Meaning
The output displays the message that the ESMC statistics have been cleared.