R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
129
NOTE:
• An entry cannot be created if the value of the specified sampling interval (interval
sampling
-
interval
) is
identical to that of the existing history entry in the system.
• You can create up to 100 history entries.
Related commands: display rmon history.
Examples
# Create RMON history control entry 1 for interface Ethernet 1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] rmon history 1 buckets 10 interval 5 owner user1
rmon prialarm
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
View
System view
Default level
2: System level
Parameters
entry-number: Index of a private alarm entry, in the range 1 to 65535.
prialarm-formula: 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 that the result of each calculating step falls into the value range for long integers.
prialarm-des: Private alarm entry description, a string of 1 to 127 characters.
sampling-interval: Sampling interval, in the range 10 to 65,535 seconds.
absolute | changeratio | delta: Sets the sampling type to absolute, delta, or change ratio. Absolute
sampling is to obtain the value of the variable when the sampling time is reached; delta sampling is to
obtain the variation value of the variable during the sampling interval when the sampling time is reached;
change ratio sampling is not supported at present.
rising-threshold threshold-value1 event-entry1: Sets the rising threshold, where threshold-value1
represents the rising threshold, in the range –2,147,483,648 to +2,147,483,647, and event-entry1
represents the index of the event triggered when the rising threshold is reached. event-entry1 ranges from
0 to 65,535, with 0 meaning no corresponding event is triggered and no event action is taken when an
alarm is triggered.
falling-threshold threshold-value2 event-entry2: Sets the falling threshold, where threshold-value2
represents the falling threshold, in the range –2,147,483,648 to +2,147,483,647 and event-entry2