< Home

suppression event-name

Function

The suppression event-name command modifies a delay period after which a generated event is reported.

The undo suppression event-name command restores the configured delay period after which a generated event is reported.

By default, the system defines a delay period after which a generated event is reported. To view this default delay period, run the undo suppression event-name command and then the display event information command. If the Suppress Period field displays NA for an alarm, this alarm does not support the delayed alarm reporting function.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

suppression event-name event-name period seconds

undo suppression event-name event-name period

Parameters

Parameter Description Value

event-name

Specifies the name of an event for which the delay period is set.

The value cannot be the event name of which the Suppress Period field in the display event information command output displays NA.

period seconds

Specifies the period after which a generated event is reported.

The value is an integer ranging from 0 to 600, in seconds. If the value is set to 0s, the alarm management module sends the event to the NMS without any delay.

Views

Event view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

In the case where a certain event is repeatedly generated, you can enable delayed event reporting and set a period after which a generated event is reported.

After the delay period is set for a certain event, if an event is generated several times during the delay period, the system reports only the first one to the NMS when the delay period expires and discards the following ones.

Prerequisites

Before running the suppression event-name command, ensure that delayed alarm reporting has been enabled using the delay-suppression enable command.

Precautions

If the delay period is changed when an event is being sent, the changed delay period takes effect on the next event to be sent.

Example

# Set the delay period to 5s after which a generated hwFlhSyncFailNotification event is reported.

<HUAWEI> system-view
[HUAWEI] event
[HUAWEI-event] delay-suppression enable
[HUAWEI-event] suppression event-name hwFlhSyncFailNotification period 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic