beautypg.com

American Fibertek SM9p User Manual

Page 45

background image

37

functon

smtp enable

G

Enable SMTP function switch(config)#smtp enable

smtp serverip

[IP address]

G

Configure SMTP

server IP

switch(config)#smtp serverip

192.168.1.5

smtp sender

[sendername]

G

Configure sender of

mail

switch(config)#smtp sender

[email protected]

smtp authentication

G

Enable SMTP

authentication

switch(config)#smtp

authentication

smtp account

[account]

G

Configure

authentication account

switch(config)#smtp account

John

smtp password

[password]

G

Configure

authentication

password

switch(config)#smtp password

1234

smtp rcptemail

[Index] [Email address]

G

Configure Rcpt e-mail

Address

switch(config)#smtp rcptemail 1

[email protected]

show smtp

P

Show the information

of SMTP

switch#show smtp

no smtp

G

Disable SMTP function switch(config)#no smtp

event device-cold-start

[Systemlog|SMTP|Both]

G

Set cold start event

type

switch(config)#event

device-cold-start both

event

authentication-failure

[Systemlog|SMTP|Both]

G

Set Authentication

failure event type

switch(config)#event

authentication-failure both

event

ring-topology-change

[Systemlog|SMTP|Both]

G

Set X-ring topology

changed event type

switch(config)#event

ring-topology-change both

event systemlog

[Link-UP|Link-Down|Bot

h]

I

Set port event for

system log

switch(config)#interface

fastethernet 3

switch(config-if)#event systemlog

both

event smtp

I

Set port event for

switch(config)#interface