NETGEAR M4100 Switch User Manual


 
348 | Chapter 18. Syslog
ProSafe M4100 and M7100 Managed Switches
CLI: Send Log Messages to admin@switch.com Using Account
aaaa@netgear.com
1. Configure an SMTP server, for example, smtp.netgear.com. Before you configure the
smtp server, you need to have an account on SMTP server.
(Netgear Switch) (Config)#mail-server "smtp.netgear.com" port 465
(Netgear Switch) (Mail-Server)#security tlsv1
(Netgear Switch) (Mail-Server)# username aaaa
(Netgear Switch) (Mail-Server)# password xxxxxx
(Netgear Switch) (Mail-Server)#exit
2. Configure logging mail. From-addr is the source address of email and to-addr is the
destination address of email.
(Netgear Switch) (Config)#logging email
(Netgear Switch) (Config)#logging email from-addr aaaa@netgear.com
(Netgear Switch) (Config)#logging email message-type urgent to-addr admin@switch.com
(Netgear Switch) (Config)#logging email message-type non-urgent to-addr admin@switch.com
3. Increase the severity of traps to 3 (error). By default, it is 6 (infor).
(Netgear Switch) (Config)#logging traps 3