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
en:dpi:dpi_options:opt_shaping:shaping_session [2025/12/16 13:51] 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>