Command Reference Guide

Email Alerting and Mail Server Commands
CLI Command Reference
September 2014 Page 188
HP Moonshot Switch Module CLI Command Reference
show logging email statistics
This command displays email alerting statistics.
clear logging email statistics
This command resets the email alerting statistics.
mail-server
This command configures the SMTP server to which the switch sends email alert messages and changes the
mode to Mail Server Configuration mode. The server address can be in the IPv4, IPv6, or DNS name format.
no mail-server
This command removes the specified SMTP server from the configuration.
Format
show logging email statistics
Mode Privileged EXEC
Term Definition
Email Alert Operation
Status
The operational status of the email alerting feature.
No of Email Failures The number of email messages that have attempted to be sent but were
unsuccessful.
No of Email Sent The number of email messages that were sent from the switch since the counter
was cleared.
Time Since Last Email
Sent
The amount of time that has passed since the last email was sent from the switch.
Format
clear logging email statistics
Mode Privileged EXEC
Format
mail-server {ip-address | ipv6-address | hostname}
Mode Global Config
Format
no mail-server {ip-address | ipv6-address | hostname}
Mode Global Config