Accton Technology ES4548D Switch User Manual


 
Configuring Event Logging
9-6
9
CLI – Enter the IP address of at least one SMTP server, set the syslog severity level
to trigger an email message, and specify the switch (source) and up to five recipient
(destination) email addresses. Enable SMTP with the logging sendmail command
to complete the configuration. Use the show logging sendmail command to display
the current SMTP configuration.
Console(config)#logging sendmail host 192.168.1.4 38-1
Console(config)#logging sendmail level 3 38-2
Console(config)#logging sendmail source-email
big-wheels@matel.com 38-2
Console(config)#logging sendmail destination-email
chris@matel.com 38-3
Console(config)#logging sendmail 38-3
Console(config)#exit
Console#show logging sendmail 38-4
SMTP servers
-----------------------------------------------
1. 192.168.1.4
SMTP minimum severity level: 4
SMTP destination email addresses
-----------------------------------------------
1. chris@matel.com
SMTP source email address: big-wheels@matel.com
SMTP status: Enabled
Console#