Applies To:
Show Versions
BIG-IP PEM
- 11.5.10, 11.5.9, 11.5.8, 11.5.7, 11.5.6, 11.5.5, 11.5.4, 11.5.3, 11.5.2, 11.5.1
Overview: Creating custom classifications
The Policy Enforcement Manager (PEM) includes predefined classification signatures for many standard categories and applications. If the predefined signatures are not sufficient for classifying your traffic, you can create custom categories and applications. To use the custom categories and applications, you need to create iRules to classify the traffic and act on the traffic.
Task summary
Determining and adjusting traffic classifications
Creating custom classification categories
Creating custom classification applications
Using iRules with classification categories and applications
Classification iRule commands
When the BIG-IP system identifies a specific type of traffic with iRules enabled, it triggers a CLASSIFICATION_DETECTED event. You can use the commands within iRules for additional system flexibility to classify the flow as one or more of the application or category classifications. The CLASSIFY commands are available from the HTTP_REQUEST or HTTP_RESPONSE iRule events.
iRule Command | Description |
---|---|
CLASSIFICATION::app | Gets the name of the classified application (the most explicit classified application). |
CLASSIFICATION::category | Gets the category of the application. |
CLASSIFICATION::disable | Disables the classification for a flow. |
CLASSIFICATION::enable | Enables the classification for a flow. |
CLASSIFICATION::protocol | Gets the name of the classified protocol (the least explicit classified application). |
CLASSIFY::application set appname | Classifies the flow as appname and associates the category that appname belongs to. |
CLASSIFY::application set appname | Classifies the flow as appname and associates the category that appname belongs to. |
CLASSIFY::category set catname | Classifies the flow as catname and also associates the flow with the unknown category. |
CLASSIFY::application add appname | Adds the application appname to the classification statistics. |
CLASSIFY::category add catname | Adds the category catname to the classification statistics. |