SMC Networks SMC6824M manual Smtp Alert Commands, Logging sendmail host, Smtp Commands

Models: SMC6824M

1 608
Download 608 pages 58 Kb
Page 356
Image 356

SYSTEM MANAGEMENT COMMANDS

Example

The following example shows the event message stored in RAM.

Console#show

log ram

[1]

00:01:30

2001-01-01

 

"VLAN 1 link-up notification."

[0]

level: 6,

module: 5, function: 1, and event no.: 1

00:01:30

2001-01-01

 

"Unit 1, Port 1 link-up notification."

 

level: 6,

module: 5, function: 1, and event no.: 1

Console#

 

SMTP Alert Commands

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

Table 4-21 SMTP Commands

Command

Function

Mode

Page

 

 

 

 

logging sendmail host

SMTP servers to receive alert messages

GC

4-64

 

 

 

 

logging sendmail

Severity threshold used to trigger alert

GC

4-65

level

messages

 

 

 

 

 

 

logging sendmail

Email address used for “From” field of alert

GC

4-66

source-email

messages

 

 

 

 

 

 

logging sendmail

Email recipients of alert messages

GC

4-67

destination-email

 

 

 

 

 

 

 

logging sendmail

Enables SMTP event handling

GC

4-67

 

 

 

 

show logging

Displays SMTP event handler settings

NE,

4-68

sendmail

 

PE

 

 

 

 

 

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.

4-64

Page 356
Image 356
SMC Networks SMC6824M Smtp Alert Commands, Logging sendmail host, Following example shows the event message stored in RAM