CLEARFlow
ExtremeWare XOS 11.1 Concepts Guide
258
the hysteresis value will not cause the statement to become false. For statements using the REL_OPER >
or >=, the hysteresis value is subtracted from the threshold; for < or <=, the hysteresis value is added to
the threshold.
For example, if the match condition had the clauses
ratio counter1 counter2 >= 5
and
hysteresis
1
, then the condition would only be true after the ratio of the counters reached at least 5. At the time it
became true, the hysteresis value would be subtracted from the threshold. With the threshold now at 4,
the condition would stay true until the ratio of the counters became less than 4.
If the statement becomes false, the threshold is reset to its original value. You would use the hysteresis
value to prevent the rule from vacillating between the true and false states if the ratio between the
counter values is near the threshold. If the hysteresis value is greater than the threshold value, the
hysteresis value will be set to zero.
The action lists will be discussed in the section,
“CLEARFlow Rule Actions” on page 259
.
See the section,
“Ratio Rule Type Example” on page 263
, for an example.
Delta-Ratio Rule Type
A CLEARFlow delta-ratio rule is a combination of the delta and ratio rules. The CLEARFlow agent
computes the difference from one sample to the next for each of the two counters. The ratio of the
differences is then compared to the threshold value. The following is the syntax for a CLEARFlow delta-
ratio rule:
entry <CLFrulename> {
if { delta-ratio <counterNameA> <counterNameB> REL_OPER <countThreshold> ;
period <interval> ;
min-value <min-value> ;
hysterisis <hysterisis> ;
}
then {
<actions>;
} else {
<actions>;
}
}
The
delta-ratio
statement specifies how to compare the ratio of the counter differences with its
threshold. The difference of the sample values of
<counterNameA>
is divided by the difference of the
sample values of
<counterNameB>
, to compute the ratio that is compared with the
<countThreshold>
.
The
REL_OPER
is selected from the relational operators for greater than, great than or equal to, less than,
or less than or equal to (>, >=, <, <=).
The
period <interval>
statement is optional, and sets the sampling interval, in seconds. This
statement specifies how often the rule is evaluated by the CLEARFlow agent. If not specified, the
default value is 5 seconds.
The min-value statement is optional, and sets a minimum value for the counters. If either counter is less
than the minimum value, the expression evaluates to false. If not specified, the minimum value is 1.
The
hysteresis <hysteresis>
statement is optional, and sets a hysteresis value for the threshold.
After the
ratio
statement is true, the value of the threshold is adjusted so that a change smaller than
the hysteresis value will not cause the statement to become false. For statements using the REL_OPER >
Содержание ExtremeWare XOS 11.1
Страница 16: ...Contents ExtremeWare XOS 11 1 Concepts Guide 16...
Страница 20: ...Preface ExtremeWare XOS 11 1 Concepts Guide 20...
Страница 21: ...1 Using ExtremeWare XOS...
Страница 22: ......
Страница 78: ...Managing the ExtremeWare XOS Software ExtremeWare XOS 11 1 Concepts Guide 78...
Страница 168: ...Virtual LANs ExtremeWare XOS 11 1 Concepts Guide 168...
Страница 200: ...Policies and ACLs ExtremeWare XOS 11 1 Concepts Guide 200...
Страница 252: ...Security ExtremeWare XOS 11 1 Concepts Guide 252...
Страница 265: ...2 Using Switching and Routing Protocols...
Страница 266: ......
Страница 294: ...Ethernet Automatic Protection Switching ExtremeWare XOS 11 1 Concepts Guide 294...
Страница 354: ...Extreme Standby Router Protocol ExtremeWare XOS 11 1 Concepts Guide 354...
Страница 416: ...IP Multicast Routing ExtremeWare XOS 11 1 Concepts Guide 416...
Страница 417: ...3 Appendixes...
Страница 418: ......
Страница 432: ...Software Upgrade and Boot Options ExtremeWare XOS 11 1 Concepts Guide 432...