CLI Guide

Table Of Contents
Security Commands 989
Default Configuration
E-mail alerting is disabled by default. When e-mail alerting is enabled, log
messages at or above severity Warning are e-mailed.
Command Mode
Global Configuration mode
User Guidelines
The logging email command with no arguments enables e-mail alerting.
Specify a severity to set the severity level of log messages that are e-mailed in
a non-urgent manner. Log messages at or above this severity level, but below
the urgent severity level, are collected together until the log time expires (the
time specified in the
logging email logtime
command) and then e-mailed in a
single e-mail message. If you set the non-urgent severity level to the same
value as the urgent severity level, then no log messages are e-mailed non-
urgently. See the
logging email urgent
command to specify the urgent severity
level. The command no logging email disables all e-mail alerting.
logging email urgent
Use the logging email urgent command in Global Configuration mode to set
the lowest severity level at which log messages are e-mailed in an urgent
manner. To revert the urgent severity level to its default value, use the no
form of this command.
Syntax
logging email urgent {severity | none}
no logging email urgent
severity—If you specify a severity level, log messages at or above the
severity level are e-mailed. The severity level may either be specified by
keyword or as an integer from 0 to 7. The accepted keywords, and the
numeric severity level each represents, are as follows.
emergency (0)
alert (1)
critical (2)