The uptical setup for a (2,L) SW-banyan network, which is based on polarizing beam splitters and ID phase spatial light modulator5, is proposed and demonstrated, and its corresponding routing control for the routingpath between any source-destinationpair has been discussed. The proposed optical setup consists of only optical polarization elements, it is compact in structure, its corresponding energy loss and cross talk are low, and its available number of channels is high. 0 1996 John Wiley & Sons, Inc.