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 for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands.
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 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 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 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-16

Document ID: EDOC1100049140

Views: 123645

Downloads: 155

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