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 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, 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. 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 trap

change notification trap

Function

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.

Format

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

Parameters

Parameter

Description

Value

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.
NOTE:
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:1.3.6.1.4.1.2011.2.91.10.2.1.0.1).2:"original": Sends original alarms to a trap server(Trap OID:1.3.6.1.4.1.34774.4.1.4.2).3:"all": Sends parsed and original alarms to a trap server.The default value is "all".
NOTE:
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".

Level

Administrator

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 the USM user name obtained by running the "show snmp usm" command. After that, the system will use the configured USM user name to send the SNMPv3 Trap.

Example

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

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

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 306962

Downloads: 253

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