Hello,
You can use the transceiver phony-alarm-disable command to disable the alarm function for non-Huawei-certified switch optical modules.
If you insist on using a non-Huawei-certified SFP, please note that Huawei cannot ensure that it is fully adaptable and will not cause any adverse impact. Huawei shall not be obligated to provide support to remedy defects or malfunctions arising from or resulting from the installation and use of non-certified transceivers in the event of continued use.
I hope this helps.