No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change alarm_object_mask

change alarm_object_mask

Function

The change alarm_object_mask command is used to mask alarms of specified objects.

Format

change alarm_object_mask object_type_list=? mask_switch=?

Parameters

Parameter

Description

Value

object_type_list=?

List of types of masked objects.

  • Objects saved in the configuration file.
  • The ID list of objects is separated by commas (,), or the ID range is separated by hyphens (-). The value is from 0 to 65535, for example: 0,5-8. A maximum of 64 object types are supported.

mask_switch=?

Switch of the alarm masking function.

The value can be "on" or "off", where:

  • "On": The object masking function is enabled.
  • "Off": The object masking function is disabled.

Level

Administrator

Usage Guidelines

An object type ranges from 0 to 65,535. Separate object types in the type list from each other with commas (,) or hyphens (-), for example, "0,5-8". A maximum of 64 object types are supported.

Example

Mask alarms of two specified objects.

admin:/>change alarm_object_mask object_type_list=6,40 mask_switch=on 
WARNING: You are about to enable the alarms of specified objects masking function. This operation will make the masked alarms of specified objects are neither reported to the DeviceManager nor sent by email, short message, or syslog. But the alarm masking function does not affect email test alarms and short message test alarms. 
Suggestion: Before performing this operation, ensure that the alarms of specified objects need to be masked. 
Have you read warning message carefully?(y/n)y 
Are you sure you really want to perform the operation?(y/n)y 
Change object 6 mask switch successfully. 
Change object 40 mask switch successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 318401

Downloads: 38

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next