SMC Networks SMC8150L2 manual Smtp Alert Commands, Logging sendmail host

Models: SMC8150L2

1 502
Download 502 pages 43.85 Kb
Page 291
Image 291

System Management Commands 4

Example

The following example shows sample messages stored in RAM.

Console#show

log ram

 

[5]

00:01:06

2001-01-01

 

 

"STA root

change notification."

[4]

level: 6,

module: 6,

function: 1, and event no.: 1

00:01:00

2001-01-01

 

 

"STA root

change notification."

[3]

level: 6,

module: 6,

function: 1, and event no.: 1

00:00:54

2001-01-01

 

 

"STA root

change notification."

[2]

level: 6,

module: 6,

function: 1, and event no.: 1

00:00:50

2001-01-01

notification."

 

"STA topology change

[1]

level: 6, module: 6,

function: 1, and event no.: 1

00:00:48

2001-01-01

 

 

"VLAN 1 link-up notification."

 

level: 6, module: 6,

function: 1, and event no.: 1

Console#

 

 

SMTP Alert Commands

These commands configure SMTP event handling, and forwarding of alert messages to the specified SMTP servers and email recipients.

Table 4-21 SMTP Alert Commands

Command

Function

Mode

Page

logging sendmail host

SMTP servers to receive alert messages

GC

4-49

 

 

 

 

logging sendmail level

Severity threshold used to trigger alert messages

GC

4-50

 

 

 

 

logging sendmail

Email address used for “From” field of alert messages

GC

4-51

source-email

 

 

 

logging sendmail

Email recipients of alert messages

GC

4-51

destination-email

 

 

 

logging sendmail

Enables SMTP event handling

GC

4-52

 

 

 

 

show logging sendmail

Displays SMTP event handler settings

NE, PE

4-52

 

 

 

 

logging sendmail host

This command specifies SMTP servers that will be sent alert messages. Use the no form to remove an SMTP server.

Syntax

[no] logging sendmail host ip_address

ip_address - IP address of an SMTP server that will be sent alert messages for event handling.

Default Setting

None

4-49

Page 291
Image 291
SMC Networks SMC8150L2 Smtp Alert Commands, Logging sendmail host, Following example shows sample messages stored in RAM