219
If the expected bucket size exceeds the available history table size, RMON sets the bucket size as
closely to the expected bucket size as is possible. However, the granted bucket size will not exceed
50. For example, the bucket size for a history control entry will be 30 if the expected bucket size is set
to 55, but the available bucket size is only 30.
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
You can create RMON history control entries only for Layer 2 or Layer 3 Ethernet interfaces.
The system supports a maximum of 100 history control entries.
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 configure multiple history control entries for one interface. Make sure their entry numbers
and sampling intervals are different.
Examples
# Create RMON history control entry 1 for GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/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
mdc-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