What configuration changes are necessary when the SMTP server IP address is changed
Applies to
- ONTAP 9
- AutoSupport (ASUP)
- SMTP
Answer
When the SMTP server IP address is changed, the following configuration changes are necessary to ensure that email notifications and AutoSupport messages continue to function correctly:
- Update the SMTP Server Configuration:
- Verify the current SMTP server configuration using the
event config showcommand:
Example:
Cluster::> event config show
Mail From: ontap913@mail.com
Mail Server: 10.122.88.108
Proxy URL: -
Proxy User: -
Publish/Subscribe Messaging Enabled: trueNote:
If the Mail Server is set to
localhost, no changes are necessary.- Update the SMTP server IP address using the
event config modifycommand:
Cluster::> event config modify -mail-from <Mail Address> -mail-server <new-SMTP-IP>- Update AutoSupport Configuration:
- Verify the current AutoSupport configuration using the
autosupport showcommand:
Example:
ontap913::> autosupport show -node ontap913-01 -fields mail-hosts
node mail-hosts
----------- ----------
ontap913-01 10.122.88.108Note:
If the mail-hosts is set to
mailhost, no changes are necessary. - Update the SMTP server IP address using the
autosupport modifycommand:
Cluster::> autosupport modify -node * -mail-hosts <new-SMTP-IP>Additional Information
additionalInformation_text
