This paper compares multi diagonal (MD) and zero cross-correlation (ZCC) onedimension codes for optical code division multiple access (Optical-CDMA). In our system, Laguerre-Gaussian modes over a multi-mode fiber (MMF) transmission system based on two different codes have been proposed. Computer simulation software (Opti-system) is used to design the system in a short-haul local-area network (LAN) to evaluate high-capacity optical data links. In the design, the data is transmitted via Spatial vertical-cavity surface-emitting laser (on Spatial VCSEL) with a 1550 nm wavelength. The adopted Laguerre- Gaussian modes are (LG 0 3, LG 02 and LG 01). Over different distances, we evaluate our system by conducting several simulation experiments to measure the parameters: Bit error rates, Q-Factor and eye diagrams.