When a Gaussian beam is apertured, it undergoes a phase shift as well as a focal shift. The relative phase shift of an apertured Gaussian beam through an axisymmetric optical system written in ABCD matrix is analyzed by applying Collins' diffraction integral formula. And, more important, the condition of dispeling the relative phase shift is obtained, which is related with the Fresnel number. At last, some extensions are given.