< Home

alarm-name severity

Function

The alarm-name severity command sets the severity for an alarm.

The undo alarm-name severity command restores the default setting.

By default, each alarm has a default severity.

Format

alarm-name alarm-name severity severity

undo alarm-name alarm-name severity

Parameters

Parameter Description Value
alarm-name Specifies the registered alarm name.

The value is a string and varies according to the registered device type. To view registered alarm information, run the display alarm information command.

severity severity Specifies the alarm severity.
The value is of enumerated type. Alarms are classified into the following severities:
  • critical: indicates that a fault affecting services has occurred and it must be rectified immediately.
  • major: indicates that services are being affected and related measures need to be taken urgently.
  • minor: indicates that a fault occurs but does not affect services. To avoid more serious faults that affect services, related measures must be taken.
  • warning: indicates that a potential or impending service-affecting fault is detected before any significant effect has been felt. Take corrective actions to diagnose and rectify the fault.
  • indeterminate: indicates that the alarm severity cannot be determined.
  • cleared: indicates one or more previous alarm conditions have been cleared.

Views

Alarm view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can run the alarm-name severity command to raise or lower the level of an alarm based on the severity and emergency of the alarm. However, the level of a clear alarm cannot be changed unless during the configuration restoration period. You can configure filtering conditions to allow the NMS to receive only alarms of specified alarm severity.

Precautions

The default severity of each alarm is different. To view the default severity of an alarm, run the undo alarm-name severity and display alarm information commands in sequence.

Example

# Set the severity of the hwSysSlaveHDError alarm to warning.

<HUAWEI> system-view
[HUAWEI] alarm
[HUAWEI-alarm] alarm-name hwSysSlaveHDError severity warning
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >