MNS-BB
Software User Guide
-104-
LE2425A(smtp)##
show smtp config
LE2425A(smtp)##
show smtp recipients
Syntax
:
add id=<1-5> email=<email-addr> [traps=<all|none|S|R|E>]
[events=<all|none|I|A|C|F|D>] [ip=<ip-addr>] [port=<1-65535>]
id – [mandatory] the recipient ID range from 1 to 5. Five is the maximum number of recipients.
email – [mandatory] this is the email address of the recipient
traps – [optional] this is the trap filter. If value is “all”, all traps of any type will be sent to this
recipient. If value is none, no traps are sent to this recipient. Value can also be a combination of ‘S’
(SNMP), ‘R’ (RMON) and ‘E’ (ENTERPRISE). For example, trap=SR means that SNMP and
RMON types will be sent to recipient. If this option is not defined, the recipient will have a default
value of “all”.
events – [optional] this is the event filter. Value can be “all” (all event severity types will be sent to
recipient), “none” (no event will be sent to recipient), or a combination of ‘I’ (informational), ‘A’
(activity), ‘C’ (critical), ‘F’ (fatal) and ‘D’ (debug). event=ACF means that events of severity types
activity, critical and fatal will be sent to recipients by email. If this option is not defined, a value of
“all” is taken.
ip – [optional] SMTP server IP address. This is the SMTP server to connect to for this particular user.
If this option is not defined, the global/default SMTP server is used.
port – [optional] TCP port of the SMTP server. If this is not defined, the global default TCP port is
used.
LE2425A(smtp)##
add id=2 [email protected] traps=all events=all
Recipient successfully added
Syntax
:
delete id=<1-5>
id – [mandatory] the recipient ID range from 1 to 5. 5 is the maximum number of recipients.
LE2425A(smtp)##
delete id=2
Recipient successfully deleted
Syntax
:
sendmail server=<ip-addr> to=<email-addr> from=<email-addr>
subject=<string> body=<string>
This command allows the user to send a customize email.
server – [mandatory] SMTP server address.
to – [mandatory] the recipient email address.