This is an old revision of the document!
PCAP Record Management and VLAN Mirroring
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:
ajb_udpi_path
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:
fdpi_ctrl setenv --ajb_save_url 1 fdpi_ctrl setenv --ajb_save_udpi 1
Enabling PCAP recording:
fdpi_ctrl load --service 12 --ip 192.168.1.1 fdpi_ctrl load --service 12 --login USER101
Disabling PCAP recording:
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 /etc/dpi/fastdpi.conf:
ajb_pcap_ind_mask=1
Here:
- 0 - index is not created (default value)
- 1 - IPv4
- 2 - IPv6
- 3 - both IPv4 and IPv6.
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:
span_vlan=123 span_trace=1
You can use one of the parameters in fastdpi.conf for diagnostics:
trace_ip span_trace ajb_save_emit