Line Commands
4-55
4
Example
The following example shows sample messages stored in RAM.
SMTP Alert Commands
These commands configure SMTP event handling, and forwarding of alert
messages to the specified SMTP servers and email recipients.
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
Command Mode
Global Configuration
Command Usage
• You can specify up to three SMTP servers for event handing. However, you
must enter a separate command to specify each server.
• To send email alerts, the switch first opens a connection, sends all the email
alerts waiting in the queue one by one, and finally closes the connection.
Console#show log ram
[1] 00:00:38 2001-01-01
"Unit 1, Port 1 link-up notification."
level: 6, module: 5, function: 1, and event no.: 1
[0] 00:00:37 2001-01-01
"System coldStart notification."
level: 6, module: 5, function: 1, and event no.: 1
Console#
Table 4-18 SMTP Alert Commands
Command
Function
Mode
Page
logging sendmail host
SMTP servers to receive alert messages
GC
4-55
logging sendmail level
Severity threshold used to trigger alert messages
GC
4-56
logging sendmail
source-email
Email address used for “From” field of alert messages
GC
4-56
logging sendmail
destination-email
Email recipients of alert messages
GC
4-57
logging sendmail
Enables SMTP event handling
GC
4-57
show logging sendmail
Displays SMTP event handler settings
NE, PE
4-58
Содержание JetNet 5228G Series
Страница 3: ...www edge core com 2 24FE 4G Layer 2 4 Ethernet Switch Management Guide V1 1...
Страница 24: ...Tables xx...
Страница 310: ...Configuring the Switch 3 264 3...
Страница 636: ...Command Line Interface 4 326 4...
Страница 650: ...Glossary Glossary 8...
Страница 656: ...Index 6 Index...
Страница 657: ......
Страница 658: ......