A switch configured to connect a plurality of remote radio units with a plurality of main units of a radio access network, the switch comprising: a first stage comprising a plurality of first units configured to receive a signal originating from a remote radio unit, and configured to output one or more spectral component having a wavelength, a central stage configured to receive the one or more optical wavelength, and transfer the spectral component to an output port determined by the wavelength, a second stage comprising a plurality of second units configured to receive the one or more spectral component from the central stage and output a signal towards a main unit, wherein the first unit is configured to control the wavelength of the output spectral component; and wherein the central stage is configured to transfer the spectral component to a selected one of said second units based on the wavelength controlled by the first unit; wherein the plurality of first units further comprise a time or packet domain switch configured to multiplex signals from the remote radio units and the plurality of second units comprises a time or packet domain switch configured to demultiplex signals to the main units; and wherein the plurality of first units is configured to time or packet multiplex signals from the remote radio units, wavelength division multiplex selected wavelengths, and transmit the selected wavelengths to the central stage, wherein the plurality of second units is further configured to receive wavelengths from the central stage, wavelength division demultiplex the wavelengths, and time or packet demultiplex signals, and then transmit the signals to the main units. a first stage comprising a plurality of first units configured to receive a signal originating from a remote radio unit, and configured to output one or more spectral component having a wavelength, a central stage configured to receive the one or more optical wavelength, and transfer the spectral component to an output port determined by the wavelength, a second stage comprising a plurality of second units configured to receive the one or more spectral component from the central stage and output a signal towards a main unit, wherein the first unit is configured to control the wavelength of the output spectral component; and wherein the central stage is configured to transfer the spectral component to a selected one of said second units based on the wavelength controlled by the first unit; wherein the plurality of first units further comprise a time or packet domain switch configured to multiplex signals from the remote radio units and the plurality of second units comprises a time or packet domain switch configured to demultiplex signals to the main units; and wherein the plurality of first units is configured to time or packet multiplex signals from the remote radio units, wavelength division multiplex selected wavelengths, and transmit the selected wavelengths to the central stage, wherein the plurality of second units is further configured to receive wavelengths from the central stage, wavelength division demultiplex the wavelengths, and time or packet demultiplex signals, and then transmit the signals to the main units.