An optical transmission equipment in an optical communication system
interconnecting two optical transmission equipment sets by a main
transmission line and a backup transmission line. An optical amplifier
amplifies and outputs optical signals from one transmission line in use,
interconnecting the optical transmission equipment concerned with
neighboring upstream optical transmission equipment, and outputs the
optical signals including a signal component and a noise component. A
controller controls an optical signal level so that a signal component in
the optical signal reaches a predetermined level. The controller corrects
the optical signal level when the transmission line transmitting the
optical signal is switched either from the main transmission line to the
backup transmission line or from the backup transmission line to the main
transmission line, either between the optical transmission equipment
concerned and a neighboring upstream optical transmission equipment, or
between other two optical transmission equipment sets located on an
upstream side.