---
title: SyncE Configuration
slug: enterprise-v5p2/synce-configuration
createdAt: 2025-12-02T03:36:24.040Z
---

# <font color="#2166ae">SyncE Configuration</font>

## <font color="#2166ae">Introduction</font>

SyncE is a synchronization technique based on carrying and recovering frequency information from physical layer code streams. It can choose whether the device uses its own crystal frequency or the crystal frequency obtained from the peer-to-peer port. It is common to use SyncE in conjunction with the PTP technique to simultaneously meet the requirements of high accuracy in both frequency and phase, and to achieve nanosecond time synchronization.

## <font color="#2166ae">SyncE configuration</font>

### <font color="#2166ae">Configuring the interface SyncE mode</font>

The interface is master by default after enabling SyncE, and it is recommended that the interface SyncE mode is the same as PTP mode.

| **Operation**                           | **Command**                              | **Description** |
| --------------------------------------- | ---------------------------------------- | --------------- |
| Enter the interface  configuration view | **interface ethernet**  *interface\_num* |                 |
| Configure SyncE mode                    | **synce  mode \{master\|slave}**         |                 |

### <font color="#2166ae">Configuring SyncE Priority</font>

When more than one interface enables SyncE, the interface with the highest priority is used as the selected.

| **Operation**                           | **Command**                              | **Description**                                                              |
| --------------------------------------- | ---------------------------------------- | ---------------------------------------------------------------------------- |
| Enter the interface  configuration view | **interface ethernet**  *interface\_num* |                                                                              |
| Configure SyncE priority                | **synce  priority &#x7B;priority}**      | Assignable  value range 0-255, the smaller the value the higher the priority |

## <font color="#2166ae">Display and Maintenance</font>

| **Operation**                           | **Command**                                     |
| --------------------------------------- | ----------------------------------------------- |
| Display SyncE status of  device         | **show synce status**                           |
| Display Synce information  of interface | **show ptp interface status**  *interface\_num* |

## <font color="#2166ae">SyncE Configuration Example</font>

<font color="#2166ae">**Network requirements**</font>

In this network, Device B uses the crystal frequency of the peer Device A. Configure the interface on which Device B interconnects with Device A as slave. (When multiple interfaces interconnect, select the interface with the lowest priority to synchronize the clock signals).

::Image[]{src="https://app.archbee.com/api/optimize/zl-MD6bX0o2Ab3p8w66u1/vWWvrXq6GULo0oxd0OWe7-20251202-085221.png" size="60" width="365" height="107" position="center" showCaption="false"}



<font color="#2166ae">**Procedure**</font>

\# Device A

```text
sonic(config)# interface ethernet 1
sonic(config-if-1)# synce enable
sonic(config-if-1)# synce mode master
```

\# Device B

```text
sonic(config)# interface ethernet 1
sonic(config-if-1)# synce enable
sonic(config-if-1)# synce mode slave
sonic(config-if-1)# synce priority 10
```

<font color="#2166ae">**Verify configuration**</font>

\# Display SyncE information of interface on Device B

```text
sonic# show ptp interface 1
SyncE Enable: true
SyncE Mode: slave
SyncE Priority: 10
```

\# Display SyncE status on Device B

```text
sonic# show synce status 
 Interface  Enable    Mode    Priority   Selected
----------- -------- ------ ---------- ------------
 Ethernet1   true     slave      10      selected
```

****
