Dear friend!
To configure an alarm profile for an optical module, run the following command:
optical-alarm-profile add
This command is used to add an optical alarm profile. In this profile, a series of alarm thresholds are specified, which are used for performance monitoring of the optical module. When the optical module parameter value crosses the threshold set in the profile, the system reports an alarm to the log host and the NMS.
For more information, please click on the following link:
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100129756&id=EN-US_CLIREF_0164608757&lang=en
Thank you!