We theoretically and experimentally investigate an all optical switch based on stimulated Raman scattering in optical fibers. The experimental setup consists of a Raman circuit of two stages connected in series through a bandpass filter. In the first stage, we have a saturated amplifier, in this stage the pump pulses are saturated when pump and signal are launched to the input or the pump pulses remain without saturation when pump only is launched at the input. The second stage works as the Raman amplifier; for this stage amplification is directly dependent on the pump power entering from the first stage. For the case when pump pulse only is launched at the input pass to the second stage without saturation and amplifies the signal entering in the second stage, very intense signal pulses appear at the output of this stage. For the case when both pump and signal pulses are launched to the input, the pump pulse is saturated in the first stage and the filter rejected the amplified signal, so that only low power pump enters the second stage and consequently no signal pulses appear at the output. We show that the contrast can be improved when using fibers with normal and anomalous dispersion connected in series in the first stage. The best contrast (the ratio of energies) obtained was 15 dB at 6 W pump peak power.