DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
231
config smtp
Syntax
config smtp {server <ipaddr> | server_port <tcp_port_number 1-65535>
|self_mail_addr <mail_addr 64> |[add mail_receiver <mail_addr 64> | delete
mail_receiver <index 1-8>]}(1)
Description
This command will allow the user to set the necessary parameters to configure the SMTP
server and mail recipients. This command must be completely configured properly for the
SMTP function of the switch to correctly operate.
Parameters
server <ipaddr>
−
Enter the IP address of the SMTP server on a remote device.
server_port <tcp_port_number 1-65535>
−
Enter the virtual port number that the Switch
will connect with on the SMTP server. The common port number for SMTP is 25.
self_mail_addr <mail addr 64>
−
Enter the e-mail address from which mail messages will
be sent. This address will be the from address on the e-mail message sent to a recipient.
Only one self mail address can be configured for this Switch. This string can be no more
that 64 alphanumeric characters.
add mail_receiver <mail_addr 64>
−
Choose this parameter to add mail recipients to
receive e-mail messages from the Switch. Up to 8 e-mail addresses can be added per
Switch.
delete mail_receiver <index 1-8>
−
Choose this parameter to delete mail recipients from
the configured list receiving e-mail messages from the Switch. Up to 8 e-mail addresses
can be added per Switch.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure the SMTP settings:
DES-1228/ME:4#config smtp server 166.99.66.33 server_port 25 add mail receiver
[email protected]
Command: config smtp server 166.99.66.33 server_port 25 add mail receiver
[email protected]
Success.
DES-1228/ME:4#
show smtp
Purpose
Used to view configured parameters for the SMTP function on the Switch.
Syntax
show smtp
Description
This command will display parameters configured for SMTP on the Switch, including
server information, mail recipients and the current running status of SMTP on the Switch.
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To view the SMTP parameters currently configured on the Switch: