Configuring SNMP & RMON RMON Configurations
Configuration Guide  
  781
f-event: 
Enter the Event entry index from 1 to 12 to bind it to the falling threshold. The Event 
entry will be triggered when the sampling value goes below the preset threshold. The Event 
entry specified here should be enabled first.
rise | fall | all: Choose an alarm type; the default is all. Rise indicates that the alarm is triggered 
only when the sampled value exceeds the rising threshold. Fall indicates that the alarm is 
triggered only when the sampled value is below the falling threshold. All indicates that the 
alarm is triggered when the sampled value exceeds the rising threshold or is below the falling 
threshold.
owner-name: 
Enter the owner name of the entry using 1 to 16 characters. The default name 
is monitor.
interval: 
Set the sampling interval. The value ranges from 10 to 3600 seconds; the default is 
1800 seconds.
Step 3 show rmon alarm [ 
index
 ]
Displays the specified alarm entry and related configurations.
index:
 Enter the index of alarm entries that you want to view. The range is 1 to 12, and the 
format is 1-3 or 5.
Step 4 end
Return to privileged EXEC mode.
Step 5 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to set an alarm entry to monitor BPackets on the switch. 
Set the related Statistics entry ID as 1, the sample type as Absolute, the rising threshold 
as 3000, the related rising event entry index as 1, the falling threshold as 2000, the related 
falling event index as 2, the alarm type as all, the notification interval as 10 seconds, and 
the owner of the entry as monitor:
Switch#configure
Switch(config)#rmon alarm 1 stats-index 1 alarm-variable bpkt s-type absolute rising-
threshold 3000 rising-event-index 1 falling-threshold 2000 falling-event-index 2 a-type 
all interval 10 owner monitor
Switch(config)#show rmon alarm
    Index-State:          1-Enabled
    Statistics index:   1
    Alarm variable:     BPkt
    Sample Type:       Absolute
    RHold-REvent:     3000-1
    FHold-FEvent:      2000-2
    Alarm startup:       All