clear alarm active

Function

The clear alarm active command clears active alarms.

Format

clear alarm active sequence-number sequence-number

clear alarm active all

Parameters

Parameter Description Value
sequence-number sequence-number

Specifies the sequence number of an alarm.

The value is an integer ranging from 1 to 4294967295.

all

Clears all alarms.

-

Views

Alarm management view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
fault-mgr execute

Usage Guidelines

Usage Scenario

To clear an alarm if the fault that triggers the alarm is removed, run the clear alarm active command. To obtain the index of the alarm to be cleared, run the display alarm active command to view active alarms.

Configuration Impact

If a fault persists but the alarm triggered by this fault is cleared, the alarm of the same type will no longer be sent to the NMS.

Follow-up Procedure

Run the display alarm active command to verify that the alarm is cleared successfully.

Example

# Clear an active alarm with a specified index.
<HUAWEI> system-view
[~HUAWEI] alarm
[~HUAWEI-alarm] display alarm active
1:Critical  2:Major  3:Minor  4:Warning
--------------------------------------------------------------------------------
Sequence   AlarmId    Level Date Time  Description
--------------------------------------------------------------------------------
1          0x95C0006  1     2020-04-23 Current license value is default, the rea
                             20:56:54  son is License is expired. (ChassisID=1)
[~HUAWEI-alarm] clear alarm active sequence-number 1
# Clear all active alarms in the system.
<HUAWEI> system-view
[~HUAWEI] alarm
[~HUAWEI-alarm] clear alarm active all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >