
78
Configuration procedure
Follow these steps to configure the RMON alarm function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create an event entry in
the event table
rmon event
entry
-
number
[
description
string
] {
log
|
log-trap
log
-
trapcommunity |
none
|
trap
trap
-
community
} [
owner
text
]
Required
Create an entry in the
alarm table
rmon alarm
entry
-
number alarm
-
variable sampling
-
interval
{
absolute
|
delta
}
rising-threshold
threshold
-
value1
event
-
entry1
falling-threshold
threshold
-
value2
event
-
entry2
[
owner
text
]
Create an entry in the
private alarm table
rmon prialarm
entry-number prialarm-formula prialarm-des
sampling-interval
{
absolute
|
changeratio
|
delta
}
rising-threshold
threshold-value1 event-entry1
falling-threshold
threshold-value2 event-entry2
entrytype
{
forever
|
cycle
cycle-period
} [
owner
text
]
Required
Use at least one
command.
NOTE:
•
A new entry cannot be created if its parameters are identical with the corresponding parameters of an
existing entry. If the created entry is a history entry, it will be compared with the existing history entries
only on the same interface. See
for the parameters to be compared for different entries.
•
The system limits the total number of each type of entries (see
for the detailed numbers). When
the total number of an entry reaches the maximum number of entries that can be created, the creation
fails.
Table 8
Restrictions on the configuration of RMON
Entry
Parameters to be compared
Maximum number of
entries that can be
created
Event
Event description (
description
string
), event type (
log
,
trap
,
logtrap
or
none
) and community name (
trap-community
or
log-trapcommunity
) 60
Alarm
Alarm variable (
alarm-variable
), sampling interval
(
sampling-interval
), sampling type (
absolute
or
delta
), rising
threshold (
threshold-value1
) and falling threshold (
threshold-value2
)
60
Prialarm
Alarm variable formula (
alarm-variable
), sampling interval
(
sampling-interval
), sampling type (
absolute, changeratio
or
delta
),
rising threshold (
threshold-value1
) and falling threshold
(
threshold-value2
)
50
Displaying and maintaining RMON
To do…
Use the command…
Remarks
Display RMON statistics
display rmon statistics
[
interface-type
interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view