An optical switch includes a plurality of light inputting members, a
plurality of light outputting members, an optical coupling member which
couples light to the light inputting members and the light outputting
members, an optical path changing member which changes an optical path
from the light inputting members up to the light outputting members, an
optical path shielding member which can take a first position which
shields collectively all optical paths from the light inputting members
up to the light outputting members and a second position which allows
light to pass through the optical path, a first driving circuit which
drives the optical path changing member, and a second driving circuit
which drives the optical path shielding member.