Monitoring and Logging System Information 235
Emergency messages (severity level 0) will be sent immediately as individual 
emails, and messages with a severity of alert, critical, and error (levels 1-3) will 
be sent in a single email every 120 minutes. Warning, notice, info, and debug 
messages are not sent in an email.
The email the administrator will in the inbox has a format similar to the 
following:
Figure 10-25. Email Alert Message Format
For emergency-level messages, the subject is LOG MESSAGE - 
EMERGENCY. For messages with a severity level of alert, critical, and error, 
the subject is LOG MESSAGE.
To configure the switch:
1
Specify the mail server to use for sending messages.
console#configure
console(config)#mail-server ip-address 192.168.2.34
2
Configure the username and password for the switch must use to 
authenticate with the mail server.
console(Mail-Server)#username switch7048
console(Mail-Server)#password password7048
console(Mail-Server)#exit