Policing by session and overriding traffic classes [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:dpi_options:opt_shaping:shaping_session [2025/01/16 08:13] – [Creating a service profile] elena.krasnobryzhen:dpi:dpi_options:opt_shaping:shaping_session [2026/05/04 15:35] (current) – [Creating a service profile] elena.krasnobryzh
Line 50: Line 50:
 Reverse conversion: ''dscp2lst /tmp/dscp_prof_1.dscp'' Reverse conversion: ''dscp2lst /tmp/dscp_prof_1.dscp''
 ==== Creating a service profile ==== ==== Creating a service profile ====
 +Creating a profile using only a DSCP file:
 <code bash> <code bash>
 fdpi_ctrl load profile --service 18  --profile.name test_dscp --profile.json '{ "dscp" : "/tmp/dscp_prof_1.dscp" }' fdpi_ctrl load profile --service 18  --profile.name test_dscp --profile.json '{ "dscp" : "/tmp/dscp_prof_1.dscp" }'
-#or +</code> 
-fdpi_ctrl load profile --service 18  --profile.name test_dscp --profile.json '{ "tbf" : "/tmp/tbf_prof_1.tbf" }'+ 
 +Creating a profile using only a TBF file: 
 +<code bash> 
 +fdpi_ctrl load profile --service 18  --profile.name test_tbf --profile.json '{ "tbf" : "/tmp/tbf_prof_1.tbf" }'
 </code>  </code> 
 +
 +Creating a profile with both files:
 +<code bash>
 +fdpi_ctrl load profile --service 18  --profile.name test_profile --profile.json '{ "dscp" : "/tmp/dscp_prof_1.dscp", "tbf" : "/tmp/tbf_prof_1.tbf" }'
 +</code>
 +
 <note tip>For service profile 18, it is not necessary to specify paths to both DSCP and TBF files simultaneously.</note> <note tip>For service profile 18, it is not necessary to specify paths to both DSCP and TBF files simultaneously.</note>
  
Line 108: Line 118:
 max_profiles_serv18=<necessary number of profiles> max_profiles_serv18=<necessary number of profiles>
 </code> </code>
 +
 +----
 +Keywords: services, service, service list, subscriber management, service 18, session policing, per-session policing