DES-1210-28/ME Metro Ethernet Managed Switch CLI Reference Guide
24
DES-1210-28/ME:5# disable smtp
Command: disable smtp
Success!
DES-1210-28/ME:5#
config smtp
Purpose To configure the fields to set up the SMTP server for the switch,
along with setting e-mail addresses to which switch log files can be
sent when a problem arises on the Switch.
Syntax
config smtp [self_mail_addr <mail_addr 64> | server <ipaddr> |
server_port <tcp_port_number 1-65535>] [{add mail_receiver
<mail_addr 64>| delete mail_receiver <index 1-8>}]
Description
The config smtp command is used to configure the fields to set up
the SMTP server for the switch, along with setting e-mail addresses
to which switch log files can be sent when a problem arises on the
Switch.
Parameters
self_mail_addr <mail_addr 64> − Specifies the e-mail address from
which mail messages will be sent. Only one self mail address can be
configured on the Swtich.
server <ipaddr> − Specifies the IP address of the SMTP server. This
will be the device that sends out the mail for user. For example,
10.90.90.99.
<tcp_port_number 1-65535> − Specifies the port number that the
Switch will connect with on the SMTP server. The range is between
1 and 65535.
add mail_receiver <mail_addr 64> − Specifies a list of e-mail
addresses so recipients can receive e-mail messages regarding
Switch functions. Up to 8 e-mail address can be added per Switch.
delete mail_receiver <index 1-8> − Specifies the e-mail address
index to be deleted.
Restrictions Only Administrator-level users can issue this command..
Example usage:
To config SMTP with self mail address ‘dlink@mail.com.tw’ on the Switch:
DES-1210-28/ME:5# config smtp self_mail_addr dlink@mail.com.tw
Command: config smtp self_mail_addr dlink@mail.com.tw
Success!
DES-1210-28/ME:5#
show smtp
Purpose To display the SMTP server settings on the Switch.
Syntax
show smtp
Description
The show smtp command displays the SMTP server settings on the
Switch.
Parameters None.