3 example, Xample – GE MULTILINK ML2400 User Manual

Page 281

Advertising
background image

CHAPTER 17: MISCELLANEOUS COMMANDS

MISCELLANEOUS COMMANDS

MULTILINK ML2400 ETHERNET COMMUNICATIONS SWITCH – INSTRUCTION MANUAL

17–9

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

ML2400#

smtp

ML2400(smtp)##

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

Successfully set global SMTP server configuration

ML2400(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

ML2400(smtp)##

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

Recipient successfully added

ML2400(smtp)##

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

domain=abc.com

Recipient successfully added

ML2400(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 -- -- -- -- -- --

ML2400(smtp)##

delete id=2

Recipient successfully deleted

ML2400(smtp)##

show smtp recipients

ML2400(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 -- -- -- -- -- --

Advertising