An optical communication system having a transmitting station for outputting WDM(wavelength-division multiplexing) signal light, an optical fiber transmission line, a receiving station, and an optical repeater including an optical amplifier. The transmitting station includes a supervisory circuit for detecting the number of channels of the WDM signal light and transmitting supervisory information including the number of channels to the optical repeater. The optical repeater further includes a circuit for controlling the optical amplifier so that the output level of the optical amplifier becomes a target level. The target level is set according to the supervisory information. According to the structure, it can be possible to provide a system which can easily respond to a change in the number of WDM channels.