logging history
Use this command to limit syslog messages sent to the Simple Network
Management Protocol network management station based on severity. The no
form returns the logging of syslog messages to the default level.
Syntax
logging history {flash | ram} level
no logging history {flash | ram}
> flash - Event history stored in Flash memory (i.e., permanent memory).
> ram - Event history stored in temporary RAM (i.e., memory flushed on power
reset).
> level - One of the level arguments listed below. Messages sent include the
selected level up through level 0.
Level Argument
Level
Description
Syslog Definition
emergencies
0
System unusable
LOG_EMERG
alerts
1
Immediate action needed
LOG_ALERT
critical
2
Critical conditions
LOG_CRIT
errors
3
Error conditions
LOG_ERR
warnings
4
Warning conditions
LOG_WARNING
notifications
5
Normal but significant
LOG_NOTICE
condition
informational
6
Informational messages
LOG_INFO
only
debugging
7
Debugging messages
LOG_DEBUG
Default Setting
Flash: errors (level 3 - 0)
RAM: warnings (level 7 - 0)
Command Mode
Global Configuration
Command Usage
Sending syslog messages to the SNMP network management station occurs
when you enable syslog traps with the snmp enable traps command.
134