The suppression alarm-name command modifies a delay period after which a generated alarm is reported.
The undo suppression alarm-name command restores the configured delay period after which a generated alarm is reported.
By default, the system defines a delay period after which a generated alarm is reported. To view this default delay period, run the undo suppression alarm-name command and then the display alarm information command. If the Suppress Period field displays NA for an alarm, this alarm does not support the delayed alarm reporting function.
suppression alarm-name alarm-name { cause-period cause-seconds | clear-period clear-seconds }
undo suppression alarm-name alarm-name { cause-period | clear-period }
Parameter | Description | Value |
---|---|---|
alarm-name | Specifies the name of an alarm for which the delay period is set. | The value cannot be the alarm name of which the Suppress Period field in the display alarm information command output displays NA. |
cause-period cause-seconds | Specifies the period after which a generated alarm 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 alarm to the NMS without any delay. |
clear-period clear-seconds | Specifies the period after which a generated clear alarm 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 alarm to the NMS without any delay. |
Usage Scenario
If a certain alarm is repeatedly generated, you can enable delayed alarm reporting and set a period after which the alarm is reported to prevent the alarm from being reported during this period.
After the period is set for a certain alarm:
If the delay period is too short, alarm reporting is not efficiently delayed. If the delay period is too long, alarm reporting is postponed and the time when the fault occurs cannot be correctly obtained. For most alarms, the default delay period is recommended. For common alarms, such as alarms about hardware and environment, delayed alarm reporting is not recommended.
The value of cause-period cause-seconds is irrelevant to the value of clear-period clear-seconds. The delay in reporting an alarm and the delay in reporting a clear alarm can be configured separately.
Prerequisites
Before running the suppression alarm-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 alarm is being sent, the changed delay period takes effect on the next alarm to be sent.