169
interval
sampling
-
interval
: Specifies the sampling interval in the range of 5 to 3600 seconds.
owner
text
: Specifies the entry owner, a case-sensitive string of 1 to 127 characters.
Usage guidelines
If an Ethernet interface has a history control entry, RMON periodically samples packet statistics on
the interface and stores the samples to the history table. When the bucket size for the history control
entry is reached, RMON overwrites the oldest sample with the most recent sample.
You can create multiple history control entries for one interface, but you must make sure their entry
numbers and sampling intervals are different.
You can create a maximum number of 200 history control entries on a device. After the limit is
reached, you cannot add new entries.
You can create RMON history control entries only for Layer 2 and Layer 3 Ethernet interfaces.
Examples
# Create RMON history control entry 1 for FortyGigE 1/0/1.
<Sysname> system-view
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] rmon history 1 buckets 10 interval 5 owner user1
Related commands
display rmon history
rmon prialarm
Use
rmon prialarm
to create an entry in the private alarm table.
Use
undo rmon prialarm
to remove an entry from the private alarm table.
Syntax
rmon prialarm
entry-number prialarm-formula prialarm-des sampling-interval
{
absolute
|
delta
}
[
startup-alarm
{
falling
|
rising
|
rising-falling
}
]
rising-threshold
threshold-value1 event-entry1
falling-threshold
threshold-value2 event-entry2
entrytype
{
forever
|
cycle cycle-period
} [
owner
text
]
undo rmon prialarm entry-number
Default
The private alarm table does not contain any entries.
Views
System view
Predefined user roles
network-admin
Parameters
entry
-
number
: Specifies a private alarm entry index in the range of 1 to 65535.
prialarm-formula
: Configures a private alarm variable formula, a string of 1 to 255 characters. The
variables in the formula must be represented in OID format that starts with a dot (.), for example,
(.1.3.6.1.2.1.2.1.10.1)*8. You can configure a formula to perform the basic math operations of
addition, subtraction, multiplication, and division on these variables. To ensure a correct calculation
result, the values of the variables in the formula must be positive integers, and the result of each
calculating step must be in the value range for long integers.
prialarm-des
: Configures an entry description, a case-sensitive string of 1 to 127 characters.