A method of measuring and dynamically compensating variations in the power loss in an optical transmission line comprising an optical fiber (2) having an input end (E) adapted to receive primary optical signals and supervisory optical signals and an exit end (S) adapted to deliver said primary signals and said supervisory signals, which method consists in:
- injecting said supervisory signals into said fiber (2) at a chosen optical power and extracting said supervisory signals at the exit end of the fiber in order to:
- determine their optical power,
- deduce from said power and said chosen optical power primary information representative of the optical power loss of the supervisory signals in the fiber (2), and
- compare said primary information and a value representative of a nominal power loss in the fiber in order to deliver secondary information representative of a variation in the power loss in the said optical fiber (2),
- which method is characterized in that, if a variation in the power loss of the supervisory signals in the fiber (2) is detected, it further modifies the power of the primary signals delivered by the exit end (S) of the fiber (2) as a function of said detected variation.