Chapter 4: Utility Commands 205
logging traps This command sets the severity at which SNMP traps are logged and sent in an
email. Specify the
severitylevel value as either an integer from 0 to 7 or
symbolically through one of the following keywords:
emergency (0), alert (1),
critical (2), error (3), warning (4), notice (5), info (6), or debug (7).
no logging traps This command resets the SNMP trap logging severity level to the default value.
logging email test
message-type
This command sends an email to the SMTP server to test the email alerting
function.
show logging email
config
This command displays information about the email alert configuration.
Default Info (6) messages and higher are logged.
Format
logging traps
severitylevel
Mode Global Config
Format
no logging traps
Mode Global Config
Format
logging email test message-type {urgent |non-urgent
|both} message-body message-body
Mode Global Config
Format
show logging email config
Mode Privileged EXEC
Term Definition
Email Alert Logging The administrative status of the feature: enabled or
disabled