3com S7906E Guía De Referencia

Descargar
Página de 2327
 
1-15 
 
When you create an entry, if the value of the specified sampling interval (interval sampling-interval
is identical to that of the existing history entry, the system considers their configurations are the 
same and the creation fails. 
You can create up to 100 alarm entries. 
 
Related commands: display rmon history
Examples 
# Create RMON history control entry 1 for interface GigabitEthernet 2/0/1. 
<Sysname> system-view 
[Sysname] interface GigabitEthernet 2/0/1 
[Sysname-GigabitEthernet2/0/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 may 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