SET ALERTEMAILSMTPPORT (Set the SMTP mail server host port)

Use this command to specify the port number for the SMTP mail server. This mail server is used to send the alerts by email.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-Set ALERTEMAILSMTPPort--tcp_port----------------------------><

Parameters

tcp_port (Required)
Specifies the port number of the SMTP mail server. Specify a value of 1 through 32767. The default port number is 25.

Specify the port number of the SMTP mail server

Specify port number 450 as your SMTP mail server by issuing the following command:
set alertemailsmtpport 450

Related commands

Table 1. Commands related to SET ALERTEMAILSMTPPORT
Command Description
SET ALERTEMAIL (Set the alert monitor to email alerts to administrators) Enables alerts to be sent by email to specified administrators.
SET ALERTEMAILFROMADDR (Set the email address of the sender) Specifies the email address of the alert sender.
SET ALERTEMAILSMTPHOST (Set the SMTP mail server host name) Specifies the SMTP mail server host name that is used to send alerts by email.
SET ALERTSUMMARYTOADMINS (Set the list of administrators to receive alert summaries by email ) Specifies the administrators that want to receive alert summaries by email.