logging email
logging email urgent
logging email message-type to-addr
logging email from-addr
logging email message-type subject
logging email logtime
logging email test message-type
–
logging email
Use the logging email command in Global Configuration mode to enable e-
mail alerting and set the lowest severity level for which log messages are e-
mailed. Use the no form of the command to disable e-mail alerting.
Syntax
logging email [severity]
no logging email
•
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)
–
error (3)
–
warning (4)
–
notice (5)
–
info (6)
–
debug (7)
show logging email statistics
clear logging email statistics
security
mail-server ip-address | hostname
port (Mail Server Configuration Mode)
username (Mail Server Configuration
Mode)
password (Mail Server Configuration
Mode)
show mail-server
Security Commands
891