port-alarm disable optical-module

Function

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.

Format

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 } *

Parameters

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.

-

Views

100GE interface view, 10G LAN interface view, 10G WAN interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, FlexE-50G interface view, GE optical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

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.

Example

# Disable the GE interface from reporting warnings when the receive power falls behind the lower threshold and the send power falls behind the lower threshold.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >