Switch User Manual

Email Alerting Commands 385
Parameter Description
Default Configuration
Email alerting is disabled by default. When email alerting is enabled, log
messages at or above severity Warning are emailed.
Command Mode
Global Configuration mode
User Guidelines
The logging email command with no arguments enables email alerting.
Specify a severity to set the severity level of log messages that are emailed 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 emailed in a
single email message. If you set the non-urgent severity level to the same
value as the urgent severity level, then no log messages are emailed non-
urgently. See the logging email urgent command to specify the urgent severity
level. The command no logging email disables all email alerting.
Parameter Description
severity If you specify a severity level, log messages at or above the
severity level are emailed. 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)
•error (3)
warning (4)
•notice (5)
•info (6)
•debug (7)
2CSPC4.XCT-SWUM2XX1.book Page 385 Monday, October 3, 2011 11:05 AM