Shaping and filtering of ultrashort pulsed beam at 1.06um by using multilayer volume holographic gratings (MVHGs) is analyzed. The modified multilayer coupled wave theory used to analyze the Bragg diffraction of a system of MVHG is derived. The spectral intensity distributions of the diffracted beam are calculated. The diffraction bandwidth, diffraction pulse duration and the total diffraction efficiency of the filter are also analyzed. Control of the optical pulse shape is accomplished by adjusting the width of the intermediate layer of an optical filter of MVHGs. This pulse shaping technique will be useful in the optical communication and optical computing systems.