< Home

resume-alarm severity

Function

The resume-alarm severity command configures the severity of clear alarms.

The undo resume-alarm severity command restores the initial severity cleared.

Format

resume-alarm { log | trap } severity { critical | major | minor | warning | cleared }

undo resume-alarm { log | trap } severity

Parameters

Parameter Description Value
log Indicates the clear alarms sent to the NMS. -
trap Indicates the clear alarms in the FW's trap buffer. -
critical Sets the severity of clear alarms to critical. -
major Sets the severity of clear alarms to major. -
minor Sets the severity of clear alarms to minor. -
warning Sets the severity of clear alarms to warning. -
cleared Sets the severity of clear alarms to cleared. -

Views

Alarm management view

Default Level

3: Management level

Usage Guidelines

By default, all clear alarms are in the cleared severity.

When a device interworks with an NMS, the NMS receives a large number of traps or logs of device alarms. The NMS may filter clear alarms by alarm severity. If the severity of filtered alarms is different from that of clear alarms, the NMS fails to receive relevant alarm information. To enable the NMS to properly receive alarm information, you can run this command to adjust the levels of all clear alarm messages or logs on the device to be the same.

Clear alarm messages or logs refer to alarms sent to you after faults are rectified. You can set their levels based on the actual situation.

Example

# Set the severity of clear alarm to cleared.

<sysname> system-view
[sysname] alarm
[sysname-alarm] resume-alarm log severity cleared
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >