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

OceanStor 9000 V5 7.0 Command Reference 03

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 email

change notification email

Function

The change notification email command is used to configure email addresses for receiving alarms.

Format

change notification email [server_type=?] [smtp_server] [sender=?] [smtp_check=?] [need_send=?] [smtp_user] [encryption_protocol=?] [smtp_port=?] [smtp_lang=?] [check_server_cert=?]

Parameters

Parameter

Description

Value

server_type Server type.
  • ip: IP address type.
  • domain: Domain name type.
smtp_server SMTP server IP address.

The value is a character string in the format of an IP address.

After input parameter server_type, parameter smtp_server must be inputed.

sender Email address.

The email address contains 5 to 255 characters and is in the format of user name@domain name. The user name must comply with the following rules: The user name must start and end with a letter, digit, or underscore (_) and can contain hyphens (-), pluses (+), and periods (.), none of which can appear consecutively. The domain name must comply with the following rules: The domain name is in the format of A.B. A and B must start and end with a letter, digit, or underscore (_) and can contain hyphens (-) and periods (.), none of which can appear consecutively. Separate multiple domain names from each other using periods (.).

smtp_check Whether SMTP authentication is required.
  • enable: SMTP authentication is required.
  • disable: SMTP authentication is not required.
need_send Whether alarms need to be sent.
  • yes: Alarms need to be sent.
  • no: Alarms do not need to be sent.
smtp_user User name requiring SMTP authentication.

The value contains 1 to 63 characters.

When the value of parameter smtp_check is "enable", parameter smtp_user must be inputed.

encryption_protocol Encryption protocol.
  • TLS: Secure transfer protocol.
  • Unencrypted: Unencrypted.
smtp_port SMTP service port number.

The value is an integer ranging from 0 to 65535.

The default value is 25.

smtp_lang Email language.
  • EN: English.
  • CN: Chinese.
check_server_cert Security risks arise if the check_server_cert is no. You are advised to yes.
  • yes: Do server certification check.
  • no: Do not check server certification.

Level

Administrator

Usage Guidelines

None

Example

Configure email addresses for receiving alarms.

admin:/>change notification email encryption_protocol=TLS need_send=no sender=tmpuser@abc.com server_type=ip 192.168.196.88 smtp_check=disable smtp_lang=CN smtp_port=25
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24762

Downloads: 7

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