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


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


OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference 06

"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."
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 trap

change notification trap


The change notification trap command is used to change the settings of the trap server. Run this command if you want to change the settings of a trap server for receiving alarms.


change notification trap server_id=? trap_version=? server_ip=? server_port=? [ trap_type=? ] [ usm_user_name=? ] [ function_test=? ]





server_id=? ID of the trap server.

The value is an integer between 0 and 3.

trap_version=? Version of the trap server.

The value can be "v1", "v2c", or "v3", where:

  • "v1": indicates SNMPv1.
  • "v2c": indicates SNMPv2c.
  • "v3": indicates SNMPv3.
To ensure compatibility, the system still supprts SNMPv1 and SNMP v2c. To ensure data security, it is strongly recommended to use SNMPv3.
server_ip=? IP address of the trap server.


server_port=? Port ID of the trap server.

The value is an integer between 1 and 65535.

function_test=? Whether or not to send a test alarm notification after the command is executed.

The value can be "yes" or "no", where:

  • "yes": A test alarm notification will be sent after the command is executed.
  • "no": A test alarm notification will not be sent after the command is executed.
The default value is no.
trap_type=? Type of the trap server.
The value can be "parsed", "original" or "all", where:1:"parsed": Sends parsed alarms to a trap server(Trap OID:"original": Sends original alarms to a trap server(Trap OID:"all": Sends parsed and original alarms to a trap server.The default value is "all".
Parsed and original are two forms of one alarm. An alarm in the original form carries only original alarm parameters, whereas an alarm in the parsed form is readable and processed based on the original form.
usm_user_name=? USM user name of the trap server.

To obtain the value, press "Ctrl+A" or run "show snmp usm" without parameters. The default value is "Kaimse".



Usage Guidelines

  • After the configurations of a trap server are modified, the storage system sends alarm information to the specified application sever or maintenance terminal based on the new configurations.
  • When "trap_version" is v3, usm_user_name must enter through "show snmp usm" command to get to the USM user name. After that, the system will use the configuration of the USM user name to send the SNMPv3 Trap.


Change the version, IP address, port ID, type, and USM user name of trap server "1" to "v3", "", "20001", "parsed", and "user", respectively.

admin:/>change notification trap server_id=1 trap_version=v3 server_ip= server_port=20001 trap_type=parsed user_user_name=user
Change configuration successfully. 

System Response


Updated: 2019-07-22

Document ID: EDOC1000106139

Views: 319469

Downloads: 210

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