Hello everyone!
Today I will share with you a case where an optical module is not matched and an alarm is reported.
During the deployment of an OptiX OSN 9800, the TNV1N402C01 board reported the LASER_MODULE_MISMATCH alarm.
Handling Process
In this project, the electrical layer of Huawei equipment passes through the optical layer of the third-party equipment. Therefore, the TNV1N402C01 board is configured with gray optical modules. However, the physical type and logical type of the board module are queried. It is found that the physical type is displayed as client-side gray cbwport and the logical type is displayed as line-side colored lcport.

The physical and logical types are inconsistent. As a result, the board reports the alarm indicating that the modules are mismatched.
The command output shows that the port type is inconsistent between the logical and physical ports.
Root Cause
The default mode of the product is the colored mode. Therefore, when the gray optical module is configured, the mode is inconsistent.
Solution
Delete the existing logical port mode, and then change the logical port mode to be the same as the physical port mode.
set bid 18
set port 1
:cfg-del-port:$bid,0xff,$port;
:cfg-add-port:$bid,0xff,$port,lbwport,0xff; # Gray light lbwport Colored light lcport
The alarm is cleared after the physical port is deleted and added again.
That's all, welcome to leave a message to discuss.
Thank you!