rmon history entry-number buckets number interval sampling-interval [ owner text ]
undo rmon history entry-number
The RMON history control table does not contain any entries.
Ethernet interface view
Predefined user roles
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.
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, but you must make sure their entry
numbers and sampling intervals are different.
# Create RMON history control entry 1 for GigabitEthernet 3/0/1.
[Sysname] interface GigabitEthernet 3/0/1
[Sysname-GigabitEthernet3/0/1] rmon history 1 buckets 10 interval 5 owner user1
display rmon history
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.