9 Configuring Event Logging

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#

9-6

Page 98
Image 98
Accton Technology 24/48-Port, ES4548D, ES4524D manual 38-1, 38-2, 38-3, 38-4