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 notification event

change notification event

Function

The change notification event command is used to set the switch of event notifications using traps, short messages, and emails.

Format

change notification event { event_id=? | event_id_list=? } { trap_switch=? | sms_switch=? | email_switch=? } *

Parameters

Parameter

Description

Value

event_id=?

ID of the event that needs to be reported.

A hexadecimal number.

event_id_list=?

ID list of events to be reported.

  • Hexadecimal numbers.
  • A maximum of 512 event IDs are supported.

trap_switch=?

Switch of the trap notification function for a specified event or an event list.

  • "on": enables the trap notification function for a specified event or an event list.
  • "off": disables the trap notification function for a specified event or an event list.

sms_switch=?

Switch of the short message notification function for a specified event or an event list.

  • "on": enables the short message notification function for a specified event or an event list.
  • "off": disables the short message notification function for a specified event or an event list.

email_switch=?

Switch of the email notification function for a specified event or an event list.

  • "on": enables the email notification function for a specified event or an event list.
  • "off": disables the email notification function for a specified event or an event list.

Level

Administrator

Usage Guidelines

After all event notifications are enabled, the system will report events using traps, short messages, and emails to the specified application server or maintenance terminal.

Example

  • Modify the trap notification configuration of the event whose ID is 0x200F002A0015.
    admin:/>change notification event event_id=0x200F002A0015 trap_switch=on 
    Change event 0x200F002A0015  switch successfully.
  • Modify the trap notification configuration of events whose IDs are 0x200F002A0015 and 0x200F002A0019.
    admin:/>change notification event event_id_list=0x200F002A0015,0x200F002A0019 trap_switch=on 
    Change event 0x200F002A0015  switch successfully. 
    Change event 0x200F002A0019  switch successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 317809

Downloads: 38

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