RMON Commands 327
•
type
— Specifies the method used for sampling the selected variable and calculating the value to be
compared against the thresholds. Possible values are
absolute
and
delta
.
If the method is
absolute
, the value of the selected variable is compared directly with the
thresholds at the end of the sampling interval. If the method is
delta
, the selected variable value of
the last sample is subtracted from the current value, and the difference is compared with the
thresholds.
•
direction
— Specifies the alarm that may be sent when this entry is first set to valid. Possible values
are
rising
,
rising-falling
and
falling
.
If the first sample (after this entry becomes valid) is greater than or equal to
rthreshold
and
direction
is equal to
rising
or
rising-falling
, a single rising alarm is generated. If the first sample
(after this entry becomes valid) is less than or equal to
fthreshold
and
direction
is equal to
falling
or
rising-falling
, a single falling alarm is generated.
•
name
— Specifies the name of the person who configured this alarm. If unspecified, the name is
an empty string.
Default Configuration
• The type is
absolute
.
• The startup direction is
rising-falling
.
Command Mode
Global Configuration mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example configures the following alarm conditions:
• Alarm index — 1000
•Variable
identifier — dell
• Sample interval — 360000 seconds
• Rising threshold — 1000000
• Falling threshold — 1000000
• Rising threshold event index — 10
• Falling threshold event index — 20
Console(config)# rmon alarm 1000 dell 360000 1000000 1000000 10 20
book.book Page 327 Thursday, December 18, 2008 7:40 PM