A wavelength tunable laser unit has a laser mode selection, and is adapted
to provide a laser signal in accordance with one or more laser control
parameters. For operating the laser unit, the laser signal is swept in a
wavelength range, a laser operation signal indicative of the laser unit's
operation during the sweep is received, and the laser operation signal is
analyzed for detecting an indication of a mode hop occurred in the
generated laser signals during the sweep. At least one correction value
is determined based on the detected mode hop indication, and at least one
of the one or more laser control parameters, applicable for a next
wavelength sweep, is modified based on the determined at least one
correction value.