Abstract-In this paper we focus on optical TDM switching and its main distinguishing characteristics compared to other optical subwavelength switching technologies. We review and discuss in details the synchronization requirements that allow for proper switching operation. In addition, we propose a novel synchronization algorithm that enables automatic synchronization of SDN-controlled all-optical TDM switching nodes connected in a ring network. Besides providing synchronization, the algorithm can also facilitate dynamic slot size change and failure detection. We experimentally validate the algorithm behavior and achieve correct operation for three different ring lengths. Moreover, we experimentally demonstrate data plane connectivity in a ring network composed of three nodes and show successful WDM-SDM transmission and switching of data bursts when using the proposed algorithm to provide synchronization.