The system provides the intelligent power adjustment (IPA) function. When there is a fiber break on the line, the upstream optical amplifier is shutdown to prevent exposed optical fibers hurting human body. After a fiber is recovered, the optical amplifier works normally again.