SyncE Configuration
8 min
\<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 {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) \<font color="#2166ae">procedure\</font> \# device a sonic(config)# interface ethernet 1 sonic(config if 1)# synce enable sonic(config if 1)# synce mode master \# device b 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 sonic# show ptp interface 1 synce enable true synce mode slave synce priority 10 \# display synce status on device b sonic# show synce status interface enable mode priority selected \ ethernet1 true slave 10 selected
