Step 2
Run:
rmon prialarm
entry-number
prialarm-formula
description-string
sampling-interval
{
absolute
|
changeratio
|
delta
}
rising-threshold
threshold-value1
event-entry1
falling-threshold
threshold-value2
event-entry2
entrytype
{
cycle
entry-period
|
forever
} [
owner
owner-name
]
The prialarmTable is configured.
Based on the alarmTable in RFC 2819, the RMON prialarm management is enhanced with two
functions: setting the alarm object in the form of expressions and limiting the time to live (TTL)
value of a prialarm entry.
Compared with the alarmTable, the prialarmTable has several additional entries:
l
Expression of alarm variables. It can be an arithmetic expression composed of the OIDs of
alarm variables, +, -, *, / or brackets.
l
Description of the prialarm entry in a character string.
l
Prialarm state period, in seconds. It must be larger than the sampling interval.
l
Two prialarm state types: Forever or Cycle. If Cycle is set, an alarm does not occur and the
entry is deleted after the specified prialarm state period.
If the events that correspond to the alarm upper limit and lower limit (
event-entry1
,
event-
entry2
) are not configured in the eventTable, an alarm does not occur even if the alarm conditions
are satisfied. (The alarm record is in the
undercreation
state rather than in the
VALID
state.)
If either the alarm upper limit event or the alarm lower limit event is configured, the alarm is
triggered once the conditions for an alarm are satisfied. (The alarm record is in the
VALID
state.)
----End
7.3.8 Checking the Configuration
After configuring RMON, you can view the traffic statistics collected by RMON.
Prerequisite
The configurations of the RMON are complete.
Procedure
l
Run the
display rmon alarm
[
entry-number
] command to view the RMON alarm
information.
l
Run the
display rmon event
[
entry-number
] command to view the RMON events.
l
Run the
display rmon eventlog
[
entry-number
] command to view the RMON event logs.
l
Run the
display rmon history
[
ethernet
interface-number
|
gigabitethernet
interface-
number
] command to view the RMON history information.
l
Run the
display rmon prialarm
[
entry-number
] command to view the information of the
RMON prialarmTable.
l
Run the
display rmon statistics
[
ethernet
interface-number
|
gigabitethernet
interface-
number
] command to view the RMON statistics.
----End
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
7 RMON Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
338