Optical switches enable signals in optical fibers or integrated optical circuits to be selectively switched from one circuit to another. They operate using mechanical means such as physically shifting fibers, or electro-optic, magneto-optic, or other methods. Optical switches can be slow, for alternate routing around faults, or fast, for logic operations using electro-optic or magneto-optic effects. Optical networks transmit data digitally as light through connected fiber strands and include SDH/SONET, opaque, partially transparent, and all-optical networks. All-optical networks perform all operations and functions optically without opto-electronics conversion.