A wavelength selective switch of the invention separates WDM light coming
out from an input fiber of a fiber collimator array according to its
wavelength, in a diffraction grating, and reflects each wavelength
channel proceeding in different directions by MEMS mirrors corresponding
to a mirror array. In the MEMS mirrors, the angles of their reflecting
surfaces are set corresponding to the location of the output port which
is set in the output address of the wavelength channel to be injected.
For each of the wavelength channels that reach the target output port,
one part of each is reflected by the end face of an output fiber, and the
reflected light is returned to the input port, and sent to a channel
monitor via an optical circulator, so that the optical power
corresponding to each wavelength channel is monitored. As a result it is
possible to provide a small size, and low-cost, wavelength selective
switch, that can monitor the power of each wavelength channel guided to a
plurality of output ports, with good accuracy.