suppression alarm-name
Function
The suppression alarm-name command sets a period after which a generated alarm is reported. After the period is set, the alarm management module does not send the received alarm to the NMS until the period expires. If the period is set to 0s, the alarm management module sends the alarm to the NMS without any delay.
The undo suppression alarm-name command restores the period of delay in reporting alarms.
The system has defined a default period of delay in reporting alarms.
Format
suppression alarm-name alarm-name { cause-period cause-seconds | clear-period clear-seconds }
undo suppression alarm-name alarm-name { cause-period | clear-period }
Parameters
Parameter | Description | Value |
---|---|---|
alarm-name | Specifies the name of an alarm for which the delay period is set. | The value is a string of 1 to 64 case-insensitive characters, spaces not supported. |
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. |
clear-period clear-seconds | Specifies the period after which a generated recovery alarm is reported. | The value is an integer ranging from 0 to 600, in seconds. |
Usage Guidelines
In the event that 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.
Before running the suppression alarm-name command, be sure that delayed alarm reporting has been enabled.
After the period is set for a certain alarm:
- If no recovery alarm is generated during the period, the alarm is not reported to the NMS until the period expires.
- If a recovery alarm is generated during this period, the alarm and its recovery alarm are both deleted from the alarm queue and will not be reported to the NMS.
The value of cause-period cause-seconds is irrelevant to the value of clear-period clear-seconds. Each alarm or its recovery alarm has its own default delay period.
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.
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.