236 Monitoring and Logging System Information3 Configure emergencies and alerts to be sent immediately, and all othermessages to be sent in a single email every 120 minutes.console(config)#logging email errorconsole(config)#logging email urgent emergencyconsole(config)#logging email logtime 1204 Specify the email address of the sender (the switch).console(config)#logging email from-addrpc7048_noreply@dell.com5 Specify the address where email alerts should be sent.console(config)#logging email message-type bothto-addr administrator@dell.com6 Specify the text that will appear in the email alert Subject line.console(config)#logging email message-type urgentsubject "LOG MESSAGES - EMERGENCY"console(config)#logging email message-type non-urgent subject "LOG MESSAGES"7 Verify the configuration.console#show mail-server all configMail Servers Configuration:No of mail servers configured.................. 1Email Alert Mail Server Address................ 192.168.2.34Email Alert Mail Server Port................... 25Email Alert SecurityProtocol................... noneEmail Alert Username........................... switch7048Email Alert Password........................... password7048console#show logging email configEmail Alert Logging............................ enabledEmail Alert From Address.......................pc7048_noreply@dell.comEmail Alert Urgent Severity Level.............. 0Email Alert Non Urgent Severity Level.......... 3Email Alert Trap Severity Level................ 6Email Alert Notification Period................ 120 min