PCAP Recording Management and VLAN Mirroring [Документация 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_li:li_ctrl:start [2024/05/28 07:32] elena.krasnobryzhen:dpi:dpi_options:opt_li:li_ctrl:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== PCAP Record Management and VLAN Mirroring  ====== 
-{{indexmenu_n>4}} 
- 
-=====PCAP record management===== 
-12 service includes PCAP recording for all subscriber traffic. The PCAP file is placed in the path specified in the basic configuration in ''fastdpi.conf'': 
-<code bash>ajb_udpi_path</code> 
- 
-<note important>In 12 service, the PCAP is written at the subscriber level when processing has taken place and the policing and services have been applied to the subscriber.</note> 
- 
-One can control start and stop of the recording on the platform by SM ''fdpi_ctrl'' utility when the parameter ''ajb_reserved=1'' is set: 
- 
-<code bash> 
-fdpi_ctrl setenv --ajb_save_url  1 
-fdpi_ctrl setenv --ajb_save_udpi 1 
-</code> 
- 
-Enabling PCAP recording: 
-<code bash> 
-fdpi_ctrl load --service 12 --ip 192.168.1.1 
-fdpi_ctrl load --service 12 --login USER101 </code> 
- 
-Disabling PCAP recording: 
-<code bash> 
-fdpi_ctrl del --service 12 --ip 192.168.1.1 
-fdpi_ctrl del --service 12 --login USER101 
-</code> 
- 
-To quickly find data in a PCAP file, you can create a file with indexed data by turning on the settings in ''/etc/dpi/fastdpi.conf'': 
-<code bash> 
-ajb_pcap_ind_mask=1 
-</code> 
-Here: 
-  * 0 - index is not created (default value) 
-  * 1 - IPv4 
-  * 2 - IPv6 
-  * 3 - both IPv4 and IPv6. 
- 
-<note important>If other recording methods are enabled for this subscriber (''ajb_save_udpi'' or ''ajb_save_ip''), then ''SESSION_ID'' will be not recorded to the resulting index.</note>  
-<note>The minimum PCAP file size is 100 MB</note> 
- 
-===== Mirroring on a VLAN =====  
-17 service includes mirroring of subscriber traffic to a specific VLAN that is swept into the data ports of the SSG. the traffic direction is preserved.   
- 
-Setup in ''fastdpi.conf'':  
-<code bash>  
-span_vlan=123  
-span_trace=1  
-</code>  
-  
-You can use one of the parameters in ''fastdpi.conf'' for diagnostics:  
-<code bash>  
-trace_ip  
-span_trace  
-ajb_save_emit  
-</code>  
-  
-<note important>If we set service 12 and 17, we will see the original recording and the mirrored recording in PCAP.</note>