# Tcpdump Capture

**URL:** <https://community.f5.com/t/tcpdump-capture/54438>\
**Category:** Technical Forums\
**Tags:** super-netops, devops, ltm\
**Created:** [August 24, 2020, 4:09pm UTC](https://community.f5.com/t/tcpdump-capture/54438 "2020-08-24T16:09:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashu](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Ashu](https://community.f5.com/u/Ashu)\
**Post date:** [August 24, 2020, 4:09pm UTC](https://community.f5.com/t/tcpdump-capture/54438/1 "2020-08-24T16:09:44Z")

</div>

Hello,

I am trying to do a packet capture on the F5 LTM where F5 is just acting as a gateway however i am not able to capture the complete tcp stream, i just get the tcp 3 way handshake packets and there is no application data..

Below is the syntax i am using, Please help.

tcpdump -s0 -venni 0.0:nnnp -w/var/tmp/dot\_slowness\_5.pcap host x.x.x.x

Where x.x.x.x is the source ip address.

---

<div class="post-metadata">

**Author:** ![Simon\_Blakely](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@Simon\_Blakely](https://community.f5.com/u/Simon_Blakely)\
**Post date:** [August 24, 2020, 9:38pm UTC](https://community.f5.com/t/tcpdump-capture/54438/2 "2020-08-24T21:38:59Z")

</div>

If the specific forwarding virtual is a Performance (Layer4) virtual and you have suitable hardware, then the connection may be shifted to the ePVA or PVA ASIC (on older hardware). This means that once the TCP handshake is complete and the flow is eligible for the _Packet Velocity ASIC_, the body of the flow is handled in the switch hardware itself and not in TMM.

[K12837: Overview of the ePVA feature](https://support.f5.com/csp/article/K12837)

If this is the case, then you need to either disable PVA for the profile on that virtual while you take the packet capture, or you need to capture on the interface/trunk (but this has a 200 packets per second restriction).

[K6546: Recommended methods and limitations for running tcpdump on a BIG-IP system](https://support.f5.com/csp/article/K6546)

-----

For systems containing a Packet Velocity ASIC (PVA), the&nbsp; **tcpdump** &nbsp;utility does not capture virtual server traffic that is fully accelerated by the PVA chip. The PVA resides on the switchboard, between the BIG-IP system’s switch subsystem and the host motherboard. The chip processes accelerated traffic by accepting packets from the switch subsystem, transforming the packets to redirect them to the appropriate pool member, and then sending the packets back to the switch subsystem. Fully accelerated traffic never reaches the internal trunk and is not processed by TMM.

For example, the following command does not capture PVA accelerated traffic:

tcpdump -ni \<vlan\_name\>

_ **Note** __: To determine whether your platform contains a PVA chip, use the_&nbsp;_ **tmsh show /sys hardware |grep -i pva** _&nbsp;_command for BIG-IP 11.0.0&nbsp;and later, or the_&nbsp;_ **bigpipe platform |grep -i pva** _&nbsp;_command for versions of BIG-IP that start with 9&nbsp;and 10._

You can work around this limitation by temporarily disabling PVA acceleration for the FastL4 profile, capturing the traffic in a VLAN&nbsp; **tcpdump** &nbsp;and then re-enabling PVA acceleration for the FastL4 profile. To disable or enable PVA acceleration using the Configuration utility, navigate to&nbsp; **Local Traffic** &nbsp;\>&nbsp; **Profile** &nbsp;\>&nbsp; **Protocol** &nbsp;\>&nbsp; **FastL4** &nbsp;\>&nbsp;**[profile\_name]**&nbsp;\>&nbsp; **PVA Acceleration**.

-----

---

<div class="post-metadata">

**Author:** ![Ashu](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Ashu](https://community.f5.com/u/Ashu)\
**Post date:** [August 26, 2020, 1:20pm UTC](https://community.f5.com/t/tcpdump-capture/54438/3 "2020-08-26T13:20:36Z")

</div>

Thank You for your response Simon, It makes perfect sense to me now.
