Syslog
432
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.
2. Configure logging mail. The from-addr is the source address of the email and the to-addr is
the destination address of the email.
3. Increase the severity of traps to 3 (error). By default, it is 6 (informational).
(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
(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
(Netgear Switch) (Config)#logging traps 3