beautypg.com

160 transport email smtp-server – PLANET SGS-5220-24T2X User Manual

Page 255

background image

Command Guide of SGS-5220-24T2X

-255-

Default:

N/A

Usage Guide:

To configure SMTP sender's email address and title of the email

Example:

To configure SMTP sender's email address ([email protected]) and title of the email (syserror)

Switch# configure terminal

Switch (config)# transport email from [email protected] subject syserror

4.2.160 transport email smtp-server

Command:

transport email smtp-server { | } port <1_to_65535>

transport Enable or disable transport email function.

email Enable or disable transport email function.

smtp-server Set the SMTP server name or IP address of the SMTP server

: IP address

hostname

port port

<1-65535> port_number: Specifies the port number. The range is from 1 to 65535. The default port number is 25.

Default:

N/A

Usage Guide:

To configure SMTP Server address and port number.

Example:

To configure SMTP Server address (mail.planet.com.tw) and port number (123)

Switch# configure terminal

Switch (config)# transport email smtp-server mail.planet.com.tw port 123