Policing of External Channels [Документация 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:faq:dpi:shaping:start [2024/08/05 14:40] elena.krasnobryzhen:dpi:faq:dpi:shaping:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Policing of External Channels ====== 
-{{indexmenu_n>3}} 
-<note>[[en:dpi:dpi_options:opt_shaping:start|Product Description]]</note> 
-<accordion autoclose> 
-<accordion-item title="1. Viewing Bandwidth Distribution by Protocols"> 
-<note warning>After checking, disable the parameter</note> 
-  - Specify the parameter ''dbg_log_mask=0x01'' in the configuration file 
-  - Reload the service:<code bash>service fastdpi reload</code> 
  
-The result can be viewed in ''/var/log/dpi/fastdpi_stat.log'': 
-<code bash> 
-        Total : 
-                proto=20 ('rap' 38) {1/385:0/0}{1/172:0/0} 
-                proto=34 ('dns' 53) {2976/295842:0/0}{2976/471359:0/0} 
-                proto=56 ('http' 80) {63349/8292468:0/0}{40178/23869035:0/0} 
-                proto=82 ('pop3' 110) {11/1051:0/0}{14/4438:0/0} 
-                proto=94 ('ntp' 123) {8/912:0/0}{8/912:0/0} 
-                proto=336 ('https' 443) {13609/2688675:0/0}{15298/15473511:0/0} 
-                proto=482 ('http-alt' 591) {16/1392:0/0}{8/720:0/0} 
-                proto=678 ('cap' 1026) {2/190:0/0}{0/0:0/0} 
-                proto=679 ('solid-mux' 1029) {6/516:0/0}{0/0:0/0} 
-   ... 
-                proto=1091 ('ies-lm' 1443) {12/1100:0/0}{8/740:0/0} 
-                proto=1101 ('genie-lm' 1453) {1/86:0/0}{1/86:0/0} 
-                proto=1145 ('vlsi-lm' 1500) {6/516:0/0}{0/0:0/0} 
-                proto=1174 ('rap-service' 1530) {3/258:0/0}{0/0:0/0} 
-                proto=1180 ('ampr-inter' 1536) {1/86:0/0}{1/86:0/0} 
-                proto=1181 ('sdsc-lm' 1537) {2/343:0/0}{2/172:0/0} 
-</code> 
- 
-Explanation:\\ 
-1. Internal index of statistics by protocol\\ 
-2. Protocol name\\ 
-3. Protocol port number\\ 
- 
-Direction ''subs --> inet'' 
- 
-4. Number of packets\\ 
-5. Volume in bytes (IP total)\\ 
-6. Dropped packets\\ 
-7. Dropped bytes\\ 
- 
-Direction ''inet --> subs'' 
- 
-8. Number of packets\\ 
-9. Volume in bytes (IP total)\\ 
-10. Dropped packets\\ 
-11. Dropped bytes\\ 
- 
-Command to display statistics: 
-<code bash>fdpi_ctrl stat --proto</code> 
-</accordion-item> 
- 
-<accordion-item title="2. How to View Bandwidth Distribution by Classes"> 
-<note warning>After checking, disable the parameter</note> 
-  - Specify the parameter ''dbg_log_mask=0x4'' in the configuration file ''/etc/dpi/fastdpi.conf'' 
-  - Reload the service:<code bash>service fastdpi reload</code> 
- 
-In the file ''/var/log/dpi/fastdpi_stat.log'' you will see output by classes like: 
-<code bash> 
-  [STAT    ][2017/12/07-13:12:32:334249] HTB : Statistics dscp=2, if 'dna2' : 
-                DSCP_actual stats Rcvd: [0 bytes][0.00 Mbit/sec] 
-                                        [0 pkts ][0.00 pkt/sec] 
-                                  Drop: [0 bytes][0.00 %] 
-                                        [0 pkts ][0.00 %] 
-                                  Send: [0 bytes][0.00 Mbit/sec] 
-                                        [0 pkts ][0.00 pkt/sec] 
-                                  Esnd: [0 err_pkts][0.00 %] 
-  [STAT    ][2017/12/07-13:12:32:334266] HTB : Statistics dscp=3, if 'dna2' : 
-                DSCP_actual stats Rcvd: [0 bytes][0.00 Mbit/sec] 
-                                        [0 pkts ][0.00 pkt/sec] 
-                                  Drop: [0 bytes][0.00 %] 
-</code> 
-</accordion-item> 
-</accordion>