Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_options:opt_li:li_ctrl:start [2023/10/11 09:12] – 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 Record Management and VLAN Mirroring | ||
- | {{indexmenu_n> | ||
- | |||
- | =====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> | ||
- | |||
- | 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 | ||
- | 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 PCAP recording: | ||
- | <code bash> | ||
- | fdpi_ctrl del --service 12 --ip 192.168.1.1 | ||
- | fdpi_ctrl del --service 12 --login USER101 | ||
- | </ | ||
- | |||
- | To quickly find data in a PCAP file, you can create a file with indexed data by turning on the settings in /// | ||
- | <code bash> | ||
- | ajb_pcap_ind_mask=1 | ||
- | </ | ||
- | Here: | ||
- | * 0 - index is not created (default value) | ||
- | * 1 - IPv4 | ||
- | * 2 - IPv6 | ||
- | * 3 - both IPv4 and IPv6. | ||
- | |||
- | <note important> | ||
- | |||
- | ===== Mirroring on a VLAN ===== | ||
- | 17 service includes mirroring of subscriber traffic to a specific VLAN that is swept into the data ports of the SCAT. the traffic direction is preserved. | ||
- | |||
- | Setup in fastdpi.conf: | ||
- | <code bash> | ||
- | span_vlan=123 | ||
- | span_trace=1 | ||
- | </ | ||
- | |||
- | You can use one of the parameters in fastdpi.conf for diagnostics: | ||
- | <code bash> | ||
- | trace_ip | ||
- | span_trace | ||
- | ajb_save_emit | ||
- | </ | ||
- | |||
- | <note important> | ||