Configuring an Alarm Filtering Table to Filter Out Alarms

This section describes how to edit and apply an alarm filtering table. An alarm filtering table can be used by different terminal users to filter out the alarms that they are not concerned about.

Context

Terminal users include command line users and NMS users. Different users are concerned about different types of alarms. Terminal users can configure an alarm filtering table to filter out the unwanted alarms.

Flexible filtering rules can be defined in an alarm filtering table.

  • Filtering out alarms with the specific severity, such as alarms with the severity lower than Major
  • Filtering out alarms that are generated for a specific service, such as alarms for the MPLS service
  • Filtering out alarms with specific names, such as an LDP session alarm

Different terminal users can share the same alarm filtering table, but each terminal user can use only one alarm filtering table.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run alarm

    The alarm management view is displayed.

  3. Run mask slot slotid [ card card-id ]

    Hardware alarms about a specified board or card are masked. Run the undo mask slot slot-id [ card card-id ] command to cancel the configuration.

  4. Run mask name mask-name

    The alarm filtering table view is displayed.

  5. Run one or more of the following commands to filter out specific alarms:
    • To filter out a specific alarm, run the mask alarm-name alarm-name command.

      To filter out multiple alarms with specific names, you need to run this command multiple times. Run the undo mask alarm-name alarm-name command to cancel the configuration.

    • To filter out an alarm for a specific service, run the mask feature-name feature-name command.

      To filter out multiple alarms for specific services, you need to run this command multiple times. Run the undo mask feature-name feature-name command to cancel the configuration.

    • To filter out an alarm with specific severity, run the mask severity { Critical | Major | Minor | Warning } command.

      The severity of an alarm can be Critical, Major, Minor, or Warning. To filter out multiple alarms with specific severity levels, run this command multiple times. Run the undo mask severity { Critical | Major | Minor | Warning } command to cancel the configuration.

  6. Run quit

    The alarm management view is displayed.

  7. Run either of the following commands based on the specific terminal user type and function:

    • For CLI users, run the terminal mask name mask-name command to filter out specific alarms.
    • For NMS users on the host named host-name, run the snmp target-host host-name mask name mask-name command to filter out specific alarms.

  8. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >