Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:dpi:dpi_options:opt_li:li_ctrl:start [2024/08/01 07:14] – elena.krasnobryzh | en: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 Recording Management and VLAN Mirroring ====== | ||
| - | {{indexmenu_n> | ||
| - | ===== PCAP Recording Management ===== | ||
| - | Service 12 includes PCAP recording for all subscriber traffic. The PCAP file is placed in the path specified in the basic configuration in '' | ||
| - | <code bash> | ||
| - | <note important> | ||
| - | |||
| - | When the parameter '' | ||
| - | <code bash> | ||
| - | fdpi_ctrl setenv --ajb_save_url | ||
| - | fdpi_ctrl setenv --ajb_save_udpi 1 | ||
| - | </ | ||
| - | |||
| - | Enabling PCAP recording: | ||
| - | <code bash> | ||
| - | fdpi_ctrl load --service 12 --ip 192.168.1.1 | ||
| - | fdpi_ctrl load --service 12 --login USER101 </ | ||
| - | |||
| - | Disabling: | ||
| - | <code bash> | ||
| - | fdpi_ctrl del --service 12 --ip 192.168.1.1 | ||
| - | fdpi_ctrl del --service 12 --login USER101 | ||
| - | </ | ||
| - | |||
| - | To quickly search for data in the PCAP file, you can create a file with indexable data by enabling the setting in ''/ | ||
| - | <code bash> | ||
| - | ajb_pcap_ind_mask=1 | ||
| - | </ | ||
| - | Where: | ||
| - | * 0 - index is not created (default) | ||
| - | * 1 - by IPv4 | ||
| - | * 2 - by IPv6 | ||
| - | * 3 - by IPv4 and IPv6 | ||
| - | |||
| - | <note important> | ||
| - | < | ||
| - | |||
| - | ===== VLAN Mirroring ===== | ||
| - | Service 17 includes mirroring subscriber traffic to a specific VLAN, which is added to the data ports of SSG. The traffic direction is preserved. | ||
| - | |||
| - | Configuration in '' | ||
| - | <code bash> | ||
| - | span_vlan=123 | ||
| - | span_trace=1 | ||
| - | </ | ||
| - | |||
| - | For diagnostics, | ||
| - | <code bash> | ||
| - | trace_ip | ||
| - | span_trace | ||
| - | ajb_save_emit | ||
| - | </ | ||
| - | |||
| - | Enabling VLAN mirroring: | ||
| - | <code bash> | ||
| - | fdpi_ctrl load --service 17 --ip 192.168.1.1 | ||
| - | fdpi_ctrl load --service 17 --login USER101 </ | ||
| - | |||
| - | Disabling VLAN mirroring: | ||
| - | <code bash> | ||
| - | fdpi_ctrl del --service 17 --ip 192.168.1.1 | ||
| - | fdpi_ctrl del --service 17 --login USER101 | ||
| - | </ | ||
| - | |||
| - | <note important> | ||