Professional Documents
Culture Documents
DPI & xDPI For V4V5 XGW
DPI & xDPI For V4V5 XGW
Course Objectives
② Destination IP address
L7: URIe
Example :
Rule 1 and rule 2 have same priority in priorty field.
rule 1 : server IP :10.0.0.0/24 port: 0
rule 2 : server IP : 10.0.0.1/32 port: 80
Result :
rule 2 : IP: 10.0.0.1/32 80 have higher priority
Result : rule5 have higher priority , then rule 4 , the last is rule 3.
1. Compiling Rules
After finish the rule configuration , Click generate button , Compile the configured rules
into the bin file 。
2. Loading Rule
After finish step1 , click the load button , Generate the DPI rule file and upload it to the
directory of the MPU.
3. Active Rule
After finish step2, click the active button , and active the DPI file 。 Or through the DPI
management button , Select the rule file to be activated in the dialog box. After active
the DPI file, need excute the “write”command in MPU. Otherwise, the activation information
will be lost after the MPU is restarted. 。
From above picture we can see that facebook_video service appid is 2384.
If we have below configuration in xGW, then we can get facebook_video rulebase ID 10.
rule-si 2384 10
Online Charging : User access internet based on quota assigned by OCS. Gy interface.
Content Charging : Charging based on diffierent service. It is one of type of Online charging.
Offline Charging : Just record charging records, it can not control service. Ga interface.
RG : Rating group. it is reported to OCS by xGW and OCS will identify different serivce traffic
based on RG.
Charge-rule Control-Rule
Charge-rule Name free uplink RG uplink SI downlink RG downlink SI ControlRuleName Access-control http-head-enrich
WhatsappCharge no 10 10 10 10 WhatsappControl enable no
DPI configuration
RuleBaseID L3/L4 rule L7 rule
10 whatsapp_L3 whatsapp_L7
Firstly, we need finish DPI configuration, then we can get rulebase ID.
Secondly, we need configure Charge-rule to define RG which will report to OCS.
Thirdly, we need configure control-rule. It can process traffic further. For example, whether allow
traffic go to internet or not.
Below picture show us xGW internal procedure how to get RG to report to OCS.
UE SGW/SGSN PGW/GGSN
OCS/CG