C
ONFIGURING
THE
S
WITCH
3-46
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.
Renumbering the Stack
If the units are no longer numbered sequentially after several topology
changes or failures, you can reset the unit numbers using the
“Renumbering” command. Just remember to save the new configuration
settings to a startup configuration file prior to powering off the stack
Master.
Console(config)#logging sendmail host 192.168.1.4 4-65
Console(config)#logging sendmail level 3 4-66
Console(config)#logging sendmail source-email
big-wheels@matel.com 4-67
Console(config)#logging sendmail destination-email
chris@matel.com 4-68
Console(config)#logging sendmail 4-68
Console(config)#exit
Console#show logging sendmail 4-69
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#