Applies To:
Show Versions
BIG-IP AAM
- 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0
Accelerating Traffic with a Local Traffic Policy
About classifying types of HTTP traffic with a local traffic policy
An application that runs on a virtual server accelerates all HTTP traffic. You can, however, use a local traffic policy to classify types of HTTP traffic for the BIG-IP® system to accelerate, by specifying hosts, paths, headers, and cookies.
Local traffic policy matching Strategies settings
This table summarizes the strategies used for traffic policy matching.
| Matching strategy | Description |
|---|---|
| First-match strategy | A first-match strategy executes the actions for the first rule in the Rules list that matches. |
| Best-match strategy | A best-match strategy selects and executes the actions of the rule
in the Rules list with the best match, as determined by the following factors.
Note: In a best-match strategy, when multiple rules match and specify an
action, conflicting or otherwise, only the action of the best-match rule is
executed. A best-match rule can be the lowest ordinal, the highest priority, or the
first rule that matches in the Rules list.
|
| All-match strategy | An all-match strategy executes the actions for all rules in the
Rules list that match.
Note: In an all-match strategy, when multiple rules
match, but specify conflicting actions, only the action of the best-match rule is
executed. A best-match rule can be the lowest ordinal, the highest priority, or the
first rule that matches in the Rules list.
|
Local traffic policy matching Requires profile settings
This table summarizes the profile settings that are required for local traffic policy matching.
| Requires Setting | Description |
|---|---|
| http | Specifies that the policy matching requires an HTTP profile. |
| ssl | Specifies that the policy matching requires a Client SSL profile. |
| tcp | Specifies that the policy matching requires a TCP profile. |
Local traffic policy matching Controls settings
This table summarizes the controls settings that are required for local traffic policy matching.
| Controls Setting | Description |
|---|---|
| acceleration | Provides controls associated with acceleration functionality. |
| caching | Provides controls associated with caching functionality. |
| classification | Provides controls associated with classification. |
| compression | Provides controls associated with HTTP compression. |
| forwarding | Provides controls associated with forwarding functionality. |
| persistence | Provides controls associated with persistence functionality. |
| request-adaptation | Provides controls associated with request-adaptation functionality. |
| response-adaptation | Provides controls associated with response-adaptation functionality. |
| server-ssl | Provides controls associated with server-ssl functionality. |
Local traffic policy matching condition types
This table summarizes the types of conditions used in policy matching.
| Condition Type | Selectors and Parameters | Valid Events | Options |
|---|---|---|---|
| Client SSL |
|
|
|
| CPU Usage |
|
|
|
| Geo. IP |
|
|
|
| HTTP Basic Auth. |
|
|
|
| HTTP Cookie | named |
|
|
| HTTP Header | named |
|
|
| HTTP Host |
|
|
|
| HTTP Method | (Specify the string for the method.) |
|
|
| HTTP Referer |
|
|
|
| HTTP Set Cookie |
named
|
|
|
| HTTP Status |
|
||
| HTTP URI |
|
|
|
| HTTP Version |
|
|
|
| SSL Certificate | with index |
|
|
| SSL Extension |
|
|
|
| TCP |
|
|
|
| WebSocket |
|
|
|
Local traffic policy matching Actions operands
This table summarizes the actions associated with the conditions of the rule used in policy matching.
| Target | Type | Valid Events | Action |
|---|---|---|---|
| acceleration | string/number |
|
|
| cache | string |
|
|
| compress | string |
|
|
| decompress | string |
|
|
| forward | string |
|
|
| http-cookie | string |
|
|
| http-header | string/number |
|
|
| http-host | string |
|
|
| http-referer | string |
|
|
| http-reply | string |
|
|
| http-set-cookie | string/number |
|
|
| http-uri | string/number |
|
|
| log | string/number |
|
|
| pem | string/number |
|
|
| persist | string/number |
|
|
| request-adapt | string/number |
|
|
| response-adapt | string/number |
|
|
| server-ssl | string/number |
|
|
| tcl | string/number |
|
|
| tcp-nagle | string/number |
|
|