CHAPTER 17: MISCELLANEOUS COMMANDS

MISCELLANEOUS COMMANDS

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

delete id=<1-5>

The 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> body=<string>

The 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).

The optional domain parameter specifies the domain name of the SMTP server.

17.1.3 Example

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.

MULTILINK ML1200 MANAGED FIELD SWITCH – INSTRUCTION MANUAL

17–3

Page 273
Image 273
GE ML1200 instruction manual Delete id=1-5, Server command configures the global Smtp server settings