Open as PDF
CHAPTER 17: MISCELLANEOUS COMMANDS MISCELLANEOUS COMMANDS
MULTILINK ML1200 MANAGED FIELD SWITCH – INSTRUCTION MANUAL 17–3
The delete command deletes the specific id specified. The deleted id no longer receives
the traps via e-mail. The
id is added using the add command
sendmail command customizes (and also sends a test e-mail to check SMTP settings)
the e-mail delivered by specifying the e-mail subject field, server address, to field and the
body of the text. See the example in this section for details.
sendmail server=<ip-addr> to=<email-addr> from=<email-addr> subject=<string>
server command configures the global SMTP server settings.
server ip=<ip-addr> [port=<1-65535>] [retry=<0-3>] [domain=<domain>]
For this command,
ip represents the SMTP server IP address, port the TCP port to be used
for SMTP communications (default is 25), and
retry specifies how many times to retry if an
error occurs when sending e-mail (from 0 to 3 with default of 0).
optional domain parameter specifies the domain name of the SMTP server.
The following example shows how to set SMTP to receive SNMP trap information via e-mail.
E-mail alerts can be forwarded to be received by other devices such as cellphones and
pages. Most interfaces to SMTP are already provided by the service provider.