R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)

206
rmon prialarm
rmon history
Use rmon history to create an entry in the RMON history control table.
Use undo rmon history to remove an entry from the RMON history control table.
Syntax
rmon history entry-number buckets number interval sampling-interval [ owner text ]
undo rmon history entry-number
Default
No history control entries have been created.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
entry-number: Specifies a history control entry index in the range of 1 to 65535.
buckets number: Specifies the expected maximum number of samples to be retained for the entry, in the
range of 1 to 65535. RMON can retain up to 50 samples for each history control entry. 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, but 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. The string can
contain spaces, but it cannot contain the question mark (?) or any unprintable control characters in the
US ASCII character set.
Usage guidelines
You can create up to 100 history control entries on the system.
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. However, you must make sure their
entry numbers and sampling intervals are different.
You cannot configure history control entries for Ethernet subinterfaces.
Examples
# Create RMON history control entry 1 for GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] rmon history 1 buckets 10 interval 5 owner user1