A method of all-optical synchronisation is proposed and demonstrated at 40 Gbit/s. Based on pre-programmable fibre Bragg grating army and fast-switched widely-tunable wavelength converters. negligible power penalty is achieved up to 1 mu s delay as well as 100% layer 22 throughput.