M A G N U M 6 K S W I T C H E S , M N S - 6 K U S E R G U I D E
Syntax
show smtp
<config|recipients>
-
config
– displays the current SMTP global settings and
recipients
displays the currently configured recipients of email alerts
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. MNS-6K allows a maximum of 5
recipients
– [mandatory] 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 traps will be sent via email to the 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). With
“event=ACF”
implies 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
Syntax
delete id=<1-5>
-
delete the specific id specified. The deleted id no longer receives the traps via email.
The id is added using the “add” command
Syntax
sendmail server=<ip-addr> to=<email-addr> from=<email-addr>
subject=<string> body=<string>
- customize (and also to send a test email to check SMTP
settings) the email sent out by specifying the email subject field, server address, to field and the body of the
text. See example fo the body of the text message later in this chapter
server
– [mandatory] SMTP server IP v4 address.
to
– [mandatory] the recipient email address
from
– [mandatory] the sender email address.
subject
– [mandatory] email subject or title
279