61-4
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 61 Configuring RMON
Configuring RMON
To enable RMON alarms and events, perform this task:
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# rmon alarm number variable interval
{absolute | delta} rising-threshold value [event-number]
falling-threshold value [event-number]
[owner string]
Sets an alarm on a MIB object.
For number, specify the alarm number. The
range is 1 to 65535.
For variable, specify the MIB object to
monitor.
For interval, specify the time in seconds the
alarm monitors the MIB variable. The range is
1 to 4294967295 seconds.
Specify the absolute keyword to test each MIB
variable directly; specify the delta keyword to
test the change between samples of a MIB
variable.
For value, specify a number at which the alarm
is triggered and one for when the alarm is reset.
The range for the rising threshold and falling
threshold values is -2147483648 to
2147483647.
(Optional) For event-number, specify the event
number to trigger when the rising or falling
threshold exceeds its limit.
(Optional) For owner string, specify the owner
of the alarm.
Step 3 Switch(config)# rmon event number [description string]
[log] [owner string] [trap community] Adds an event in the RMON event table that is
associated with an RMON event number.
For number, assign an event number. The range
is 1 to 65535.
(Optional) For description string, specify a
description of the event.
(Optional) Use the log keyword to generate an
RMON log entry when the event is triggered.
(Optional) For owner string, specify the owner
of this event.
(Optional) For community, enter the SNMP
community string used for this trap.
Step 4 Switch(config)# end Returns to privileged EXEC mode.
Step 5 Switch# show running-config Verifies your entries.
Step 6 Switch# copy running-config startup-config (Optional) Saves your entries in the configuration
file.