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 9000 V5 7.0 Command Reference 04

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 trap IP addresses for notifying alarms.


change notification trap < server_id > < trap_version > < trap_type > < server_ip_or_domain > < server_port > [usm_user]





server_id Trap IP address ID.

The value can contain only 1 to 127 letters, digits, hyphens (-), underscores (_), and periods (.).

You can press Ctrl+A to view the available values of id.

trap_version SNMP protocol version.

Various SNMP protocol versions use various communication modes. The SNMP protocol has the following versions:

  • SNMPv1.
  • SNMPv2c.
  • SNMPv3.
Note: The agent-addr address of SNMPv1 is the back-end IP address of the storage system management node. SNMPv1 is not remmended.
trap_type Trap type.
  • Parsed: Trap IP address defined by Parsed.
  • Original: Trap IP address defined by Original.
  • All: Trap IP addresses defined by Parsed and Original.
server_ip_or_domain Trap address.

The value is an IP address or domain name for receiving alarms.The domain name contains 1 to 255 letters, Each level of the domain name contains 1 to 63 letters, digits, and hyphens (-). Domain names at various levels are separated by periods (.) and cannot start or end with a hyphen (-). The top-level domain name cannot contain digits only.The trap IP address needs to be able to communicate with the management network.

server_port Trap port number.

The value is an integer.

When trap_type is set to Parsed or all, the value ranges from 162 to 65,535.

When trap_type is set to Original, the value ranges from 1 to 65,535.

usm_user usm user name.

The value contains 1 to 39 characters and cannot contain only spaces.



Usage Guidelines

SNMPv1 and SNMPv2c are not recommended because they are insecure. We recommend to use SNMPv3.


Change the trap IP addresses for notifying alarms.

admin:/>change notification trap 1 SNMPv3 All 165 usm_user
Command executed successfully.

System Response


Updated: 2019-07-25

Document ID: EDOC1100067955

Views: 27359

Downloads: 7

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