The port-alarm disable optical-module command disables alarm functions for the optical module.
The undo port-alarm disable optical-module command enables alarm functions for the optical module.
By default, warnings are reported when the receive power exceeds the upper threshold, the receive power falls behind the lower threshold, the send power exceeds the upper threshold, the send power falls behind the lower threshold,the voltage exceeds the upper threshold and the voltage falls behind the lower threshold.
port-alarm disable optical-module { rx-power-high-warning | rx-power-low-warning | tx-power-high-warning | tx-power-low-warning | voltage-high-warning | voltage-low-warning } *
undo port-alarm disable optical-module { rx-power-high-warning | rx-power-low-warning | tx-power-high-warning | tx-power-low-warning | voltage-high-warning | voltage-low-warning } *
Parameter | Description | Value |
---|---|---|
rx-power-high-warning |
Indicates that a warning is reported when the receive power exceeds the upper threshold. |
- |
rx-power-low-warning |
Indicates that a warning is reported when the receive power falls behind the lower threshold. |
- |
tx-power-high-warning |
Indicates that a warning is reported when the send power exceeds the upper threshold. |
- |
tx-power-low-warning |
Indicates that a warning is reported when the send power falls behind the lower threshold. |
- |
voltage-high-warning |
Indicates that a warning is reported when the voltage exceeds the upper threshold. |
- |
voltage-low-warning |
Indicates that a warning is reported when the voltage falls behind the lower threshold. |
- |
Usage Scenario
The system automatically obtains the vendor-defined power threshold of an optical module and compares it with the actual power. If the actual power exceeds the vendor-defined threshold, an alarm will be generated. Generally, the actual power is greater than the vendor-defined threshold, which means frequent alarm reporting. It is unfeasible to install an attenuator on each optical module to prevent frequent reporting of such power alarms. You can disable the alarm function for the optical module by executing the following command.
NOTE: The device has two types of optical module power alarms: warning and alarm. A warning is reported when the difference between the actual power and vendor-defined threshold is not great. It can also be considered as a precaution. Some optical modules can continue working properly when the actual optical power is at the warning level. You can disable the alarm function for these optical modules to prevent these optical modules from frequently reporting warnings by executing the following command.<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] port-alarm disable optical-module rx-power-high-warning rx-power-low-warning tx-power-high-warning tx-power-low-warning