Configure Clock Synchronization Interface on MX Series Routers
MX Series routers support external clock synchronization for Synchronous Ethernet, T1 or E1 line timing sources, and external inputs. Configuring external clock synchronization requires making clock selection, quality level, and priority considerations. The clock source selection algorithm is used to pick the two best upstream clock sources from among the various sources on the basis of system configuration and execution criteria such as quality level, priority, and hardware restrictions. For information about the clock synchronization options, see Understanding Clock Synchronization.
The following sections explain configuring clock synchronization options for MX Series routers:
Starting with Junos OS Release 13.3, the following scenarios
occur when you configure Synchronous Ethernet without the clock-class-to-quality-level-mapping
statement at the [edit protocols ptp slave]
hierarchy
level:
Qualified clock source quality level (that is the secondary clock source quality level) is transmitted out of the external interface and the Ethernet interface during clock reference switchover when two clock sources on different MICs of the same FPC exist or when two clock sources on two different FPCs exist.
Lower quality level is transmitted out the external interface and the Ethernet interface during clock reference switchover when two clock sources on the same MIC of an FPC exist due to hardware limitation.
Before you remove the SCBE from the router, you must delete
the configuration under the [edit chassis synchronization]
hierarchy level. Similarly, before you remove the SCBE2 from the
router, you must delete the configuration under the [edit chassis
synchronization]
hierarchy level.
On SCBE2, the external-0/0 interface is located on SCB0 and the external-1/0 interface is located on SCB1.
Configuring Clock Synchronization Options
To configure the clock synchronization options.
Display the External Clock Synchronization Configuration for SCB
Purpose
Display the options for external clock synchronization for SCB.
Action
Execute the show
command at [edit chassis]
hierarchy level.
[edit chassis] user@host# show synchronization { clock-mode (auto-select | free-run); esmc-transmit { interfaces (all | <interface-name>); } hold-interval { configuration-change <seconds>; restart <seconds>; switchover <seconds>; } interfaces <interface-name> { hold-off-time <time>; priority <number>; quality-level (prc | prs |sec | smc | ssu-a | ssu-b | st2 | st3 | st3e | st4 | stu | tnc); request (force-switch | lockout); wait-to-restore <minutes>; } } max-transmit-quality-level (prc | prs | sec | ssu-a | ssu-b | st2 | st3e |stu | tnc); # Applicable from 13.3 onwards network-type (option-1 | option-2); quality-mode-enable; selection-mode (configured-quality | received-quality); source { (external-a | external-b) { priority <number>; quality-level (prc | prs |sec | smc | ssu-a | ssu-b | st2 | st3 | st3e | st4 | stu | tnc); request (force-switch | lockout); } switchover-mode (revertive | non-revertive); }
Display the External Clock Synchronization Configuration for SCBE
Purpose
Display the options for external clock synchronization for SCBE. Note that the SCBE has only one external interface.
Action
Execute the show command at [edit chassis]
hierarchy level.
[edit chassis] user@host# show synchronization { clock-mode (auto-select | free-run); esmc-transmit { interfaces (all | <interface-name>); } hold-interval { configuration-change <seconds>; restart <seconds>; switchover <seconds>; } interfaces { external { e1-options { framing (g704 | g704-no-crc4); line-encoding (ami | hdb3); sabit <number>; } pulse-per-second-enable; signal-type (1mhz | 5mhz | 10mhz | 2048khz | t1 | e1); t1-options { framing (esf | sf); line-encoding (ami | b8zs); } } } max-transmit-quality-level (prc | prs | sec | ssu-a | ssu-b | st2 | st3e |stu | tnc); # Applicable from 13.3 onwards network-option (option-1 | option-2); output { interfaces { external { holdover-mode-disable; minimum-quality (prc | prs | sec | smc | ssu-a | ssu-b |st2 | st3 | st3e | st4 | stu | tnc); source-mode (chassis | line); tx-dnu-to-line-source-enable; wander-filter-disable; } } } port { auxiliary client { time-of-day-format { ascii <string>; } } } quality-mode-enable; selection-mode (configured-quality | received-quality); source { interfaces (<interface-name> | external) { hold-off-time <time>; priority <number>; quality-level (prc | prs |sec | smc | ssu-a | ssu-b | st2 | st3 | st3e | st4 | stu | tnc); request (force-switch | lockout); wait-to-restore <minutes>; } } switchover-mode (revertive | non-revertive); }
Display the External Clock Synchronization Configuration for SCBE2
Purpose
Display the options for external clock synchronization for SCBE2. SCBE2 has two external interfaces, external-0/0 and external-1/0.
Action
Execute the show command at [edit chassis]
hierarchy level.
[edit chassis] user@host# show synchronization { clock-mode (auto-select | free-run); esmc-transmit { interfaces (all | <interface-name>); } hold-interval { configuration-change <seconds>; restart <seconds>; switchover <seconds>; } interfaces { (external-0/0 | external-1/0) { signal-type (1mhz | 5mhz | 10mhz | 2048khz | t1 | e1); e1-options { framing (g704 | g704-no-crc4); line-encoding (ami | hdb3); sabit <number>; } pulse-per-second-enable; t1-options { framing (esf | sf); line-encoding (ami | b8zs); } } } max-transmit-quality-level (prc | prs | sec | ssu-a | ssu-b | st2 | st3e |stu | tnc); network-option (option-1 | option-2); output { interfaces { (external-0/0 | external-1/0) { holdover-mode-disable; minimum-quality (prc | prs | sec | smc | ssu-a | ssu-b |st2 | st3 | st3e | st4 | stu | tnc); source-mode (chassis | line); tx-dnu-to-line-source-enable; wander-filter-disable; } } } port { auxiliary client { time-of-day-format { ascii <string>; } } } quality-mode-enable; selection-mode (configured-quality | received-quality); source { interfaces { (external-0/0 | external-1/0 | <interface-name>) { hold-off-time <time>; priority <number>; quality-level (prc | prs |sec | smc | ssu-a | ssu-b | st2 | st3 | st3e | st4 | stu | tnc); request (force-switch | lockout); wait-to-restore <minutes>; } } switchover-mode (revertive | non-revertive); }
Displaying the External Clock Synchronization Configuration for MX2020 Control Board
Purpose
Display the options for external clock synchronization for MX2020 Control Board. MX2020 Control Board has two external interfaces, external-a and external-b.
Action
Execute the show command at [edit chassis
] hierarchy level.
[edit chassis] user@host# show synchronization { clock-mode (auto-select | free-run); esmc-transmit { interfaces (all | <interface-name>); } hold-interval { configuration-change <seconds>; restart <seconds>; switchover <seconds>; }interfaces { (external-a | external-b) { signal-type (1mhz | 5mhz | 10mhz | 2048khz | t1 | e1); e1-options { framing (g704 | g704-no-crc4); line-encoding (ami | hdb3); sabit <number>; } pulse-per-second-enable; t1-options { framing (esf | sf); line-encoding (ami | b8zs); } } }max-transmit-quality-level (prc | prs | sec | ssu-a | ssu-b | st2 | st3e |stu | tnc); network-option (option-1 | option-2); output { interfaces { (external-a | external-b) { holdover-mode-disable; minimum-quality (prc | prs | sec | smc | ssu-a | ssu-b |st2 | st3 | st3e | st4 | stu | tnc); source-mode (chassis | line); tx-dnu-to-line-source-enable; wander-filter-disable; } } } port { auxiliary client { time-of-day-format { ascii <string>; } } } quality-mode-enable; selection-mode (configured-quality | received-quality); source { interfaces { (external-a | external-b | <interface-name>) { hold-off-time <time>; priority <number>; quality-level (prc | prs |sec | smc | ssu-a | ssu-b | st2 | st3 | st3e | st4 | stu | tnc); request (force-switch | lockout); wait-to-restore <minutes>; } } switchover-mode (revertive | non-revertive); }