beautypg.com

3 example, Xample – GE ML1600 User Manual

Page 270

background image

17–8

MULTILINK ML1600 ETHERNET COMMUNICATIONS SWITCH – INSTRUCTION MANUAL

E-MAIL

CHAPTER 17: MISCELLANEOUS COMMANDS

17.2.3 Example

The following example shows how to set SMTP to receive SNMP trap information via e-mail.

Note

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.

Example 17-2: Configuring SMTP to receive SNMP trap information via e-mail

ML1600#

smtp

ML1600(smtp)##

server ip=3.94.210.25 port=25 retry=3 domain=ge.com

Successfully set global SMTP server configuration

ML1600(smtp)##

show smtp config

SMTP Global Configuration

========================================

Status : Disabled

SMTP Server Host : 3.94.210.25

SMTP Server Domain : ge.com

SMTP Server Port : 25

Retry Count : 3

ML1600(smtp)##

add id=1 [email protected] traps=s events=CF

Recipient successfully added

ML1600(smtp)##

add id=2 [email protected] traps=all events=all ip=3.30.154.28 port=25

Recipient successfully added

ML1600(smtp)##

show smtp recipients

ID E-mail Address SMTP Server From Domain Port Traps Events

===================================================================

1 [email protected] 3.94.210.25 ge.com 25 S FC

2 [email protected] 3.30.154.28 abc.com 25 All All

3 -- -- -- -- -- --

4 -- -- -- -- -- --

5 -- -- -- -- -- --

ML1600(smtp)##

delete id=2

Recipient successfully deleted

ML1600(smtp)##

show smtp recipients

ML1600(smtp)##

show smtp recipients

ID E-mail Address SMTP Server From Domain Port Traps Events

===================================================================

1 [email protected] 3.94.210.25 ge.com 25 S FC

2 -- -- -- -- -- --

3 -- -- -- -- -- --

4 -- -- -- -- -- --

5 -- -- -- -- -- --