Adding CLEAR-Flow Rules to ACLs
ExtremeWare XOS 11.3 Concepts Guide
383
the counters is near the threshold. If the hysteresis value is greater than the threshold value, the
hysteresis value will be set to zero.
In
Table 54
is an example of evaluating the CLEAR-Flow delta-ratio expression above multiple times.
Notice that the rule is not triggered at the second evaluation because both counters have not yet reached
the min-value of 100. The rule first triggers at evaluation 4, when ratio of the two counters exceeds 5.
Once the rule is triggered, it remains triggered until the ratio value is less than 4 (the original threshold
minus the hysteresis), at evaluation 6. At evaluation 8, the rule is again triggered when the ratio reaches
5. The rule will remain triggered until the ratio drops below 4.
See the section,
“Delta-Ratio Expression Example” on page 392
, for a full example of an ACL and a
CLEAR-Flow rule using a delta-ratio expression.
Rule-True-Count Expression
A CLEAR-Flow rule-true-count expression compares how many times a CLEAR-Flow rule is true with a
threshold value. One use is to combine multiple rules together into a complex rule. The following is the
syntax for a CLEAR-Flow rule-true-count expression:
rule-true-count <ruleName> REL_OPER <countThreshold> ;
The
rule-true-count
statement specifies how to compare how many times a CLEAR-Flow rule is true
with the expression threshold. The
<ruleName>
is the name of the CLEAR-Flow rule to monitor and the
<countThreshold>
is the value compared with the number of times the rule is true. 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 (>, >=, <, <=).
For example, the following delta-ratio expression:
rule-true-count cflow_count_rule_example >= 5 ;
will only be true after the CLEAR-Flow rule
cflow_count_rule_example
has been true at least five times. If
the rule
cflow_count_rule_example
becomes true and remains true, and the period for
cflow_count_rule_example
is the default five seconds, the rule would have to be true for at least 20
seconds before the rule-true-count expression will become true. If the period of the rule
cflow_count_rule_example
is 10 seconds, it will need to be true for at least 40 seconds before the rule-
true_count expression becomes true.
Table 54: Delta-Ratio Expression Evaluation Example
Evaluation
counter1
value
counter1
delta
counter2
value
counter2
delta
Ratio
Rule
triggered?
1
110
N/A
20
N/A
N/A
No
2
537
427
90
70
6
No
3
1478
941
325
235
4
No
4
3953
2475
737
412
6
Yes
5
6261
2308
1307
570
4
Yes
6
8574
2313
2078
771
3
No
7
12171
3597
2977
899
4
No
8
17511
5340
4042
1065
5
Yes
Summary of Contents for ExtremeWare XOS 11.3
Page 20: ...Contents ExtremeWare XOS 11 3 Concepts Guide 20...
Page 25: ...1 Using ExtremeWare XOS...
Page 26: ......
Page 38: ...ExtremeWare XOS Overview ExtremeWare XOS 11 3 Concepts Guide 38...
Page 58: ...Accessing the Switch ExtremeWare XOS 11 3 Concepts Guide 58...
Page 146: ...Configuring Slots and Ports on a Switch ExtremeWare XOS 11 3 Concepts Guide 146...
Page 218: ...Status Monitoring and Statistics ExtremeWare XOS 11 3 Concepts Guide 218...
Page 240: ...Virtual LANs ExtremeWare XOS 11 3 Concepts Guide 240...
Page 248: ...Virtual Routers ExtremeWare XOS 11 3 Concepts Guide 248...
Page 278: ...Access Lists ACLs ExtremeWare XOS 11 3 Concepts Guide 278...
Page 288: ...Routing Policies ExtremeWare XOS 11 3 Concepts Guide 288 entry deny_rest if then deny...
Page 344: ...Security ExtremeWare XOS 11 3 Concepts Guide 344...
Page 393: ...2 Using Switching and Routing Protocols...
Page 394: ......
Page 454: ...Spanning Tree Protocol ExtremeWare XOS 11 3 Concepts Guide 454...
Page 484: ...Extreme Standby Router Protocol ExtremeWare XOS 11 3 Concepts Guide 484...
Page 514: ...IPv4 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 514...
Page 530: ...IPv6 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 530...
Page 538: ...RIP ExtremeWare XOS 11 3 Concepts Guide 538...
Page 556: ...OSPF ExtremeWare XOS 11 3 Concepts Guide 556...
Page 566: ...OSPFv3 ExtremeWare XOS 11 3 Concepts Guide 566...
Page 589: ...3 Appendixes...
Page 590: ......
Page 640: ...CNA Agent ExtremeWare XOS 11 3 Concepts Guide 640...
Page 670: ...Glossary ExtremeWare XOS 11 3 Concepts Guide 670...
Page 698: ...Index ExtremeWare XOS 11 3 Concepts Guide 698...