DELL N3000 User Manual

Page of 1460
Monitoring and Logging System Information
277
Configure the username and password that the switch must use to 
authenticate with the mail server.
console(Mail-Server)#username switchN3048
console(Mail-Server)#password passwordN3048
console(Mail-Server)#exit
Configure emergencies and alerts to be sent immediately, and all other 
messages to be sent in a single email every 120 minutes.
console(config)#logging email error
console(config)#logging email urgent emergency
console(config)#logging email logtime 120
Specify the email address of the sender (the switch).
console(config)#logging email from-addr 
N3048_noreply@dell.com
Specify the address where email alerts should be sent.
console(config)#logging email message-type both 
to-addr administrator@dell.com
Specify the text that will appear in the email alert Subject line.
console(config)#logging email message-type urgent 
subject "LOG MESSAGES - EMERGENCY"
console(config)#logging email message-type non-
urgent subject "LOG MESSAGES"
Verify the configuration.
console#show mail-server all config
Mail Servers Configuration:
No of mail servers configured.................. 1
Email Alert Mail Server Address................ 192.168.2.34
Email Alert Mail Server Port................... 25
Email Alert SecurityProtocol................... none
Email Alert Username........................... switchN3048
Email Alert Password........................... passwordN3048
console#show logging email config