Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM network protocols command-line interface reference guide.Ver 1.6.pdf
Скачиваний:
29
Добавлен:
23.08.2013
Размер:
1.61 Mб
Скачать

Protocol-specific Commands

4.2Email Alerter commands

The commands in this section are:

help smtp on page 4-8

mdel on page 4-9

mport on page 4-10

mrcpt on page 4-11

mserver on page 4-12

mtest on page 4-12

mfile on page 4-13

mstat on page 4-13

mverbose on page 4-14.

4.2.1help smtp

The help smtp command displays the list of SMTP commands for the Email Alerter.

Syntax help smtp

Example

INET> help smtp

mdel

delete an SMTP alert recipient

mport

TCP port for SMTP alerts

mrcpt

add/view SMTP alert recipients

mserver

SMTP server IP address

mtest

Send a test SMTP alert

mfile

Email a disk file

mstat

dump SMTP info

mverbose

toggle SMTP verbose mode

INET> _

 

4-8

Copyright © 2000-2001 ARM Limited. All rights reserved.

ARM DUI 0145B

Protocol-specific Commands

4.2.2mdel

The mdel command deletes the email address of a selected recipient.

Syntax

mdel email_address

where:

email_address Is the email address to be deleted. If you enter mdel without this parameter, it lists the current email recipients.

Example

INET> mdel

Specify recipient to delete.

SMTP Alerts Enabled

SMTP Server IP address 207.156.252.7:25, currently disconnected, state:0. Alert Recipients:

jbrown@company.com

lsmith@company.com Alert Msgs in Queue: 0

Message fates; OK: 0, bad code: 0, so_error: 0 INET> mdel lsmith@company.com

recipient deleted INET> _

Usage

Use the mrcpt command add email addresses to the recipient list.

ARM DUI 0145B

Copyright © 2000-2001 ARM Limited. All rights reserved.

4-9

Protocol-specific Commands

4.2.3mport

The mport command shows the port number used for setting up a TCP connection to send the emails. This command can also be used to change the port number.

Syntax

mport new_port

where:

new_port Is the port number on the remote server machine where the attempted connection are made. If you enter mport without this parameter, it displays the current server port.

Example

INET> mport

smtp server port is currently 25

to change, enter new port number after this command INET> mport 27

INET> mport

smtp server port is currently 27

to change, enter new port number after this command INET> _

4-10

Copyright © 2000-2001 ARM Limited. All rights reserved.

ARM DUI 0145B

Protocol-specific Commands

4.2.4mrcpt

The mrcpt command displays the list of email addresses in the recipient list, and can also adds a new recipient to the list.

Syntax

mrcpt new_address

where:

 

new_address

Is the new email address to be added to the recipient list. If you

 

enter mrcpt without this parameter, it displays the current recipient

 

list.

Example

INET> mrcpt

SMTP Alerts Enabled

SMTP Server IP address 207.155.248.7:25, currently disconnected, state:0. Alert Recipients:

jbrown@company.com Alert Msgs in Queue: 0

Message fates; OK: 0, bad code: 0, so_error: 0

To add recipient, type email address after command INET> mrcpt lsmith@company.com

INET> mrcpt

SMTP Alerts Enabled

SMTP Server IP address 207.155.248.7:25, currently disconnected, state:0. Alert Recipients:

jbrown@company.com

lsmith@company.com Alert Msgs in Queue: 0

Message fates; OK: 0, bad code: 0, so_error: 1

To add recipient, type email address after command INET> _

ARM DUI 0145B

Copyright © 2000-2001 ARM Limited. All rights reserved.

4-11