CLI Guide

Switch Management Commands 2259
logging traps
Use the logging traps command in Global Configuration mode to set the
lowest severity level at which SNMP traps are logged. To revert the urgent
severity level to its default value, use the no form of this command.
Syntax
logging traps severity
no logging traps
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)
Default Configuration
The default severity level is info(6).
Command Mode
Global Configuration mode
User Guidelines
You can filter log messages that appear in the buffered log by severity level.
You can specify the severity level of log messages that are e-mailed. You can
use this command to specify the severity level at which SNMP traps are