Administration Commands : email

email
Description
Use the email command to configure e-mail, and also event notification via e-mail.
Syntax
email autosupport enable
no email autosupport enable
email domain <hostname or ip address>
no email domain
email mailhub <hostname or ip address>
no email mailhub
email mailhub-port <port number>
no email mailhub-port
email notify event raise-alarm
no email notify event raise-alarm
email notify recipient <email addr> class {failure | info}
no email notify recipient <email addr> class {failure | info}
email notify recipient <email addr> detail
no email notify recipient <email addr> detail
Arguments
Use the no form of this command to prevent the sending of automatic support notifications by e-mail.
domain <hostname or ip address>
Overrides the domain from which e-mail appears to come. Specify the hostname or IP address of the domain, for the “return address” you want users to see.
Use the no form of this command to clear the e-mail domain override.
mailhub <hostname or ip address>
Use the no form of this command to clear the configured mailhub.
mailhub-port <port number>
Use the no form of this command to clear the configured mail port.
Use the no form of this command to stop sending e-mails when alarms are triggered.
notify recipient <email addr> class {failure | info}
failure – Sends failure events to the specified recipient
info – Sends informational events to the specified recipient
Use the no form of this command to specify which events this recipient should not be sent.
notify recipient <email addr> detail
Use the no form of this command to to send summarized (rather than detailed) event e-mails to a specific recipient.
Defaults
None.
Command Mode
Global Configuration Mode
See Also
See the following related commands:
n
n
Usage Guidelines
None.
Examples
To set the outgoing e-mail relay to “canary-post”:
(config) # email mailhub canary-post
To notify all members of the mailgroup, engineering@silver-peak.com, whenever there’s a failure event:
(config) # email notify recipient engineering@silver-peak.com class failure

Please send comments or suggestions regarding user documentation to techpubs@silver-peak.com.