CLI Guide

Table Of Contents
[include-logs disabled|on|off]
Optional. When the managed logs feature is enabled, this option activates the push mode,
automatically attaching system log files to managed-logs email notifications that are sent to the
log collection system. This option is disabled by default.
notification-level crit|error|warn|resolved|info|none
The minimum severity for which the system should send notifications:
crit: Sends notifications for Critical events only.
error: Sends notifications for Error and Critical events.
warn: Sends notifications for Warning, Error, and Critical events.
resolved: Sends notifications for Resolved, Warning, Error, and Critical events.
info: Sends notifications for all events.
none: Disables email notification. This is the default. If this option is specified, no other
parameters are required and their current values are not changed.
[port port-number]
Optional. The port number to use for communication with the SMTP server. Configure this parameter
only if you want to override use of standard SMTP network port 25.
security-protocol tls|ssl|none
Specifies whether to use a security protocol when communicating with the SMTP server.
tls: Enables Transport Layer Security (TLS) authentication. The standard ports for TLS are 25
or 587.
ssl: Enables Secure Sockets Layer (SSL) authentication. The standard port for SSL is 465.
none: Do not use a security protocol. The standard port is 25. This setting is the system default.
[sender sender]
Optional, unless security-protocol is set to tls or ssl.
The sender name that is joined with an @ symbol to the domain name to form the from address for
remote notification. This name provides a way to identify the system that is sending the notification.
The sender name can have a maximum of 64 bytes. The value cannot include a space or: \ " , : ; < >
( ) [ ] @. For example: Storage-1.
When a secure protocol is used, this sender name must correspond to the password specified by the
sender-password parameter, and be a valid user on the configured SMTP server.
If this parameter is omitted, the system name is used as the sender name.
[sender-password password]
Optional. This parameter is required for a secure SMTP server (using TLS or SSL) and must
correspond to the user name specified by the sender parameter. This parameter is not applicable
if the security-protocol parameter is set to none. If the security-protocol parameter is set to tls or
ssl and this parameter is omitted, the command prompts you to enter and re-enter a value, which is
displayed obscured for security reasons.
server address
The network address of the SMTP mail server to use for the email messages. The value can be
an IPv4 address, IPv6 address, or FQDN. If DNS is configured, this parameter may specify a server
name. The value can have a maximum of 255 bytes.
Examples
For a server that requires TLS authentication through standard port 587 for SMTP notifications, set
the system to do the following:
Send an email from RAIDsystem@mydomain.com to both sysadmin@mydomain.com and
JSmith@domain2.com when a non-Informational event occurs.
Send an email with attached logs to logcollector@mydomain.com when logs need to be
transferred.
# set email-parameters server 10.1.9.10 sender RAIDsystem
security-protocol tls port 587 sender-password Abcd%1234 domain
mydomain.com notification-level warn include-logs enabled email-list
sysadmin@mydomain.com,JSmith@domain2.com,,logcollector@mydomain.com
See also
set dns-parameters
124 Alphabetical list of commands