5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
195
Email Alerting and Mail Server Commands
5-58
logging email
This command is used to enable email alerts and to set the lowest severity level for the emailing of log
messages. Specifically, if the user specifies a severity level, then log messages with a severity at or
above this level but below the urgent severity level are emailed in a non-urgent manner by being collected
together and then emailed when the log time expires. The
severitylevel
value can be specified as either
an integer from 0 to 7 or in a symbolic manner with one of the keywords that follows:
emergency
(0),
alert
(1),
critical
(2),
error
(3),
warning
(4),
notice
(5),
info
(6), and
debug
(7).
The
no
command is used to disable email alerts.
logging email {severity | from-addr | logtime | message-type | test | urgent}
no logging email
Parameters
severity
(Optional) Indicates the serverity level of the email alert.
from-addr
Indicates the sender address configuration for the email alert.
logtime
Indicates the log duration configuration in minutes, range: 30 – 1440
minues.
message-type
Indicates the message configuration type: urgent, non-urgent, both.
test
Indicates the test configuration for the email alert configuration.
urgent
Indicates the urgent log message.
Default
The default is Disabled.
Command Mode
Global Config
5-59
logging email urgent
This command is used to set the lowest severity level for which log messages will be e-mailed
immediately in a single e-mail message. The
severitylevel
value can be specified as either an integer
from 0 to 7 or in a symbolic manner with one of the keywords that follows:
emergency
(0),
alert
(1),
critical
(2),
error
(3),
warning
(4),
notice
(5),
info
(6), and
debug
(7). Alternatively,
none
can be
specified in order to indicate that log messages are to be collected and sent together in a batch email at a
specified interval.
The
no
command is used to reset the urgent severity level back to the default value.
logging email urgent {severity | none}
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...