Chapter 4: Utility Commands 207
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.
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