Compared with other lasers, fiber laser is widely used in optic communication, industrial production, biomedical sciences, and other fields because of its excellent technical performance, low manufacturing cost, mature technology, high conversion efficiency, high stability, and many other advantages. Recently, two new optical fiber communication techniques that are quickly evolving are Wavelength Division Multiplexing (WDM) and Dense Wavelength Division Multiplexing (DWDM). As a result, multiwavelength and wavelength-tunable fiber lasers were created to address the demand for optical communication systems with high throughput, high quality, and high speed. Due to their advantages in lowering equipment complexity, enhancing network flexibility, enhancing fiber system integration, etc., switching dual-wavelength fiber lasers based on Array Waveguide Grating (AWG) have received a lot of attention. This paper studies two switching dual-wavelength fiber laser based on AWG. Firstly, the basic structure of Erbium-doped Fiber Laser (EDFL) is analyzed based on the basic principle of Erbium-Doped Fiber (EDF). In addition, the working principle of AWG is analyzed emphatically. Finally, AWG-based switching dual-wavelength fiber lasers in linear/ring cavity, which achieve that the adjustable wavelength intervals between 0.8nm to 12nm, are verified and discussed experimentally. Additionally, experimental data shows that the dual-wavelength lasing power is stable and equal.