Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Ratgeber Für Administratoren

Seite von 542
  Chapter 18.  Syslog
 
   
|
     
337
ProSafe Managed Switch 
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. From-addr is the source address of email and to-addr is the 
destination address of email.
3. 
Increase the severity of traps to 3 (error). By default, it is 6 (infor).
(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