A method for replacing a header and for routing an optical signal propagating at a given optical wavelength, the optical signal including both the header and a data payload, the header being conveyed by a single-sideband signal occupying a given frequency band above the data payload, the method comprising the steps of
- opto-electrically converting the optical signal to detect the header,
- processing the header to produce a switch control signal to route the optical signal,
- optically filtering the optical signal with a reflective part of the notch filter to delete the header and recover the data payload, and
- inserting a new single-sideband header at the given frequency band into the optical signal in place of the deleted header.