MISCELLANEOUS COMMANDS

CHAPTER 17: MISCELLANEOUS COMMANDS

SMTP alerts can be enabled or disabled globally.

User can defined a global default SMTP server identified by its IP address, TCP port and retry count.

User can add up to five SMTP alert recipients. Each recipient is identified by an ID and e-mail address. The e-mail address needs to be a valid address and can be an alias setup for distribution to a larger audience.

Filters are provided for each recipient to allow only certain categories of traps and events be sent by e-mail.

Each recipient can have its own SMTP server and TCP port number, if this is not defined on a certain recipient, the default SMTP server and TCP port number is used.

17.1.2 Commands

The smtp command configures the SNMP alerts to be sent via e-mail.

smtp

smtp <enabledisable>

The show smtp command displays the current SMTP global settings and recipients displays the currently configured recipients of e-mail alerts.

show smtp <configrecipients>

The add command adds a specific id, where id represents the recipient identification and ranges from 1 to 5. The software allows a maximum of 5 recipients

add id=<1-5> email=<email-addr> [traps=<allnoneSRE>] [events=<allnoneIACFD>] [ip=<ip-addr>] [port=<1-65535>] [domain=<domain>]

The add command has the following additional parameters:

The email parameter is the e-mail address of the recipient.

The optional traps parameter represents 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 e-mail to the recipient. If this option is not defined, the recipient will have a default value of “all”.

The optional events parameter 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 e-mail. If this option is not defined, a value of “all” is taken.

The optional ip parameter represents the 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.

The optional port parameter specifies the TCP port of the SMTP server. If this is not defined, the global default TCP port is used.

The optional domain parameter specifies the domain name of the SMTP server. If this is not defined, the global default domain name is used.

17–2

MULTILINK ML1200 MANAGED FIELD SWITCH – INSTRUCTION MANUAL

Page 272
Image 272
GE ML1200 instruction manual Smtp enabledisable, Show smtp configrecipients