Cisco Cisco IOS Software Release 12.4(4)T

Page of 20
Alarm Filtering Support in the Cisco Entity Alarm MIB
  How to Configure Alarm Filtering for Syslog Messages and SNMP Notifications
4
Multiple Cisco IOS Releases
DETAILED STEPS
Configuring Alarm Filtering for SNMP Notifications
This task describes how to configure the alarm severity threshold for generating SNMP notifications. 
When you use this command, the alarm severity threshold is included in the running configuration and 
automatically applied when the configuration is reloaded.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
snmp-server enable traps alarms [severity]
4.
show facility-alarm status
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode. 
Enter your password if prompted.
Step 2
configure
 terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
logging alarm 
[severity]
Example:
Router(config)# logging alarm 2
Configures the alarm severity threshold for generating 
syslog messages. 
All alarms at and above this threshold are sent as syslog 
messages.
Step 4
show facility-alarm status
Example:
Router(config)# show facility-alarm status
Generates output that shows information about each alarm 
depending on the severity level that is set.