Adding CLEAR-Flow Rules to ACLs
ExtremeWare XOS 11.3 Concepts Guide
377
}
then {
<actions>;
}
}
Or you can specify an optional
else
clause:
entry <CLFrulename> <match-type> {
if { <match-conditions>;
}
then {
<actions>;
} else {
<actions>;
}
}
In the CLEAR-Flow rule syntax, the <CLFrulename> is the name of the rule (maximum of 31
characters). The <match-type> specifies whether the rule is triggered when any of the expressions that
make up the conditions are true (logical OR), or only when all of the expressions are true (logical AND).
The <match-type> is an optional element. The <match-conditions> specifies the conditions that will
trigger the rule, and how often to evaluate the rule. The <actions> in the
then
clause is the list of
actions to take when the rule is triggered, and the optional
else
clause <actions> is the list of actions to
take after the rule is triggered, and when the <match-conditions> later become false.
NOTE
When you create an ACL policy file that contains CLEAR-Flow rules, the CLEAR-Flow rules do not have any
precedence, unlike the ACL entries. Each CLEAR-Flow rule specifies how often it should be evaluated. The order of
evaluation depends on the sampling time and when the CLEAR-Flow agent receives the counter statistics. The order
of the CLEAR-Flow rules in the policy file does not have any significance.
The rule match type, rule match conditions, and rule actions are discussed in these sections:
●
CLEAR-Flow Rule Match Type on page 377
●
CLEAR-Flow Rule Match Conditions on page 378
●
CLEAR-Flow Rule Actions on page 384
CLEAR-Flow Rule Match Type
The match type is optional. There are two possible choices for the match type:
●
match all—All the match expressions must be true for a match to occur. This is the default.
●
match any—If any match expression is true, then a match occurs.
NOTE
The match type was first available for CLEAR-Flow in ExtremeWare XOS 11.2.
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...