To configure an SMTP server for email notifications:
To add a SMTP server:
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Enable email notifications:
hostname (config) # fenotify email enable
Set the mail relay address used to send the email notifications:
hostname (config) # fenotify email mailhub address <ip address>
Set the mail port used to send the email notifications (default port is 25).
hostname (config) # fenotify email mailhub port <port number>
Set the domain from which emails appear to come:
hostname (config) # fenotify email domain <email domain>
Set the user name in the return address for email notifications (the default is
do-not-reply):hostname (config) # fenotify email return user-name <user name>
(Optional) To include the hostname in the return address for email notifications:
hostname (config) # fenotify email return host-name <host name>
Save the configuration:
hostname (config) # write memory