SyncE Configuration
show synce interface
Section titled “show synce interface”[Command] show synce interface interface_num
[Purpose] Display the synce information of the interface
[View] Interface view
[Use Cases]
sonic# show ptp interface 12SyncE Enable: trueSyncE Mode: slaveSyncE Priority: 1[Command] show synce status
[Purpose] Display the synce status of the device
[View] System configuration view
[Use Cases]
sonic# show synce status Interface Enable Mode Priority Selected----------- -------- ------ ---------- ------------ Ethernet1 true slave 1 selected Ethernet2 true slave 2 non-selected Ethernet3 true slave 3 non-selected Ethernet4 true slave 4 non-selectedsynce enable
Section titled “synce enable”[Command] synce enable no synce enable
[Purpose] Enable synce function
[View] Interface view
[Usage Scenario] Synce is a synchronization technique based on carrying and recovering frequency information from physical layer code streams. The implementation confirms through an election whether the device uses its own crystal frequency or the crystal frequency obtained from the peer-to-peer interface.
[Use Cases]
sonic(config)# interface ethernet 1sonic(config-if-1)# synce enablesynce mode {master|slave}
Section titled “synce mode {master|slave}”[Command] synce mode {master|slave}
[Purpose] Configure the synce mode of interface to master or slave
[Parameter]
| Parameter | Description |
|---|---|
| master | Clock signal sender |
| slave | Clock signal receiver |
[View] Interface view
[Usage Scenario] The default synce mode is master. The synce mode is recommended to be the same as the PTP mode on interafce
[Use Cases]
sonic(config)# interface ethernet 1sonic(config-if-1)# synce mode slavesynce priority
Section titled “synce priority”[Command] synce priority value
[Purpose] Configure the synce priority of interface
[Parameter]
| Parameter | Description |
|---|---|
| value | Value range:0 to 255 |
[View] Interface view
[Usage Scenario] When more than one interface is present to enable synce, the interface with the highest priority is selected.
[Use Cases]
sonic(config)# interface ethernet 1sonic(config-if-1)# synce priority 1