User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 360
(M4500-32C) #configure
(M4500-32C) (Config)# logging email message-type urgent to-addr toAddr01@email.com
(M4500-32C) (Config)# logging email message-type both to-addr toAddr02@email.com
5.7.9. logging email from-addr
This command is used to configure the email source address (the address of the sender, i.e., switch) to which
messages are sent.
The parameter “<from-addr>“ specifies a standard email address to be the source address of both urgent and
non-urgent message.
Format logging email from-addr <from-address>
no logging email from-addr
Default switch@netgear.com
Mode Global Config
Example: Set an email address “fromAddr@email.com” to the source address of both urgent and non-urgent
message.
(M4500-32C) #configure
(M4500-32C) (Config)# logging email from-addr fromAddr@email.com
5.7.10. mail-server configuration
This command configures the parameters of SMTP server which is used to send email alert messages. This
command changes CLI mode from Global Config Mode to Mail Server Config mode.
Format [no] mail-server <ipaddress|ipv6address|host-name>
Default None
Mode Global Config
Example: Set mail server address to hostname “smtp.gmail.com” and change to Mail Server Config mode.
(M4500-32C) #configure
(M4500-32C) (Config)#mail-server smtp.gmail.com
(M4500-32C) (Mail-Server)#