Configure Email Notification
Configure the SMTP feature to generate email notifications for component failures, critical conditions, or general system health status.
About this task
The SMTP feature is disabled by default.
Before you begin
To identify the SMTP server by hostname, you must first configure a DNS client on the switch.
Procedure
Globals Field Descriptions
Use the data in the following table to use the Globals tab.
Name |
Description |
---|---|
ServerAddressType |
Specifies the type of server address as either an IPv4 address or a hostname. If you use a hostname, you must configure the DNS client on the switch. |
ServerAddress |
Specifies the SMTP server address. You can use either a hostname or an IPv4 address. If you use a hostname, you must configure the DNS client on the switch. |
ReceiverEmailsList |
Specifies the recipient list. The recipients receive the email notification generated by the switch. You must configure at least one email recipient and can create a maximum of five email recipients. You can specify multiple addresses in a single command by separating them with a comma. You cannot use quotation marks (“) or commas (,) in email addresses. Other restrictions for the format of the email address follow RFC5321. The maximum length for the address is 254 characters. |
NumOfEmails |
Shows the total number of addresses in ReceiverEmailsList. |
SenderEmail |
Specifies the email address that the system displays it in the From field of the message that the switch generates. By default, the switch uses SystemName@default.com. |
DomainName |
Specifies the SMTP domain name. The maximum length is 254 characters. |
Port |
Specifies the TCP port on the switch that the SMTP client uses to communicate with the SMTP server. The default value is 25. Note:
You must disable the SMTP feature before you can change an existing SMTP port configuration. The port you specify must match the port that the SMTP server uses. |
SystemStatusSendTimer |
Specifies the interval, in seconds, at which the switch sends status information. The default is 30 seconds. A value of 0 means the switch does not send status information. |
Enable |
Enables or disables the SMTP feature. By default, SMTP is disabled. |
LogEventIds |
Specifies the list of events that generate email notification. You can specify multiple event IDs in a single command by separating them with a comma. The event ID can be up to 10 digits in hexadecimal format. |
NumOfEventIds |
Shows the total number of IDs in LogEventIds. |
DefaultLogEventIds |
Shows the default list of event IDs that generate email notification. |
NumOfDefaultEventIds |
Shows the total number of IDs in DefaultLogEventIds. |