Command Reference Guide
Email Alerting and Mail Server Commands
CLI Command Reference
September 2014 Page 185
HP Moonshot Switch Module CLI Command Reference
logging email message-type to-addr
This command configures the email address to which messages are sent. The message types supported are
urgent, non-urgent, and both. For each supported severity level, multiple email addresses can be configured.
The
to-email-addr variable is a standard email address, for example admin@yourcompany.com.
no logging email message-type to-addr
This command removes the configured to-addr field of email.
logging email from-addr
This command configures the email address of the sender (the switch).
no logging email from-addr
This command removes the configured email source address.
logging email message-type subject
This command configures the subject line of the email for the specified type.
Format
logging email message-type {urgent |non-urgent |both} to-addr to-email-addr
Mode Global Config
Format
no logging email message-type {urgent |non-urgent |both} to-addr to-email-addr
Mode Global Config
Default switch@hp.com
Format
logging email from-addr from-email-addr
Mode Global Config
Format
no logging email from-addr from-email-addr
Mode Global Config
Default For urgent messages: Urgent Log Messages
For non-urgent messages: Non Urgent Log Messages
Format
logging email message-type {urgent |non-urgent |both} subject subject
Mode Global Config