HP VPN Firewall Appliances System Management and Maintenance Command Reference
155
Usage guidelines
After an entry is created, the system periodically samples the number of packets received/sent on the
interface, and saves the statistics as an instance under the leaf node of the etherHistoryEntry table. The
maximum number of statistics records can be saved for the entry is specified by buckets number. If the
maximum number of the statistics records for the entry has been reached, the system deletes the earliest
record for the latest one. The statistics include total number of received packets on the interface, total
number of broadcast packets, and total number of multicast packets in a sampling period.
You can successfully create a history control entry, even if the specified bucket size exceeds the history
table size supported by the device. However, the effective bucket size will be the actual value supported
by the device. To view the configuration result, use the display rmon history command.
You can configure multiple history control entries for one interface, but must make sure their entry
numbers and sampling intervals are different.
The device supports up to 100 history control entries.
Examples
# Create RMON history control entry 1 for GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/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 of RMON.
Use undo rmon prialarm to remove a private alarm entry from the private alarm table of RMON.
Syntax
rmon prialarm entry-number prialarm-formula prialarm-des sampling-interval { absolute | changeratio |
delta } rising-threshold threshold-value1 event-entry1 falling-threshold threshold-value2 event-entry2
entrytype { forever | cycle cycle-period } [ owner text ]
undo rmon prialarm entry-number
Views
System view
Default command level
2: System level
Parameters
entry-number: Specifies the index of a private alarm entry, in the range of 1 to 65535.
prialarm-formula: Configures a private alarm variable formula, a string of 1 to 256 characters. The
variables in the formula must be represented in OID format that starts with a point ".", the formula
(.1.3.6.1.2.1.2.1.10.1)*8 for example. You can customize the formula and perform the basic operations of
addition, subtraction, multiplication, and division on these variables. The operations should yield a long
integer. To prevent errors, make sure the result of each calculating step falls into the value range for long
integers.