# GTM Packet Capture command

**URL:** <https://community.f5.com/t/gtm-packet-capture-command/74450>\
**Category:** Technical Forums\
**Tags:** application-delivery\
**Created:** [May 2, 2024, 2:42pm UTC](https://community.f5.com/t/gtm-packet-capture-command/74450 "2024-05-02T14:42:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdityaKurundkar](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@AdityaKurundkar](https://community.f5.com/u/AdityaKurundkar)\
**Post date:** [May 2, 2024, 2:42pm UTC](https://community.f5.com/t/gtm-packet-capture-command/74450/1 "2024-05-02T14:42:21Z")

</div>

Hi All,

I have started working on F5 GTM recently and stuck with the tcpdump commands for it.

Need help on tcpdump commands for wideip to check if the wideip is working correctly.

Also are there any step by step guide to check and troubleshoot wideip application issue.

---

<div class="post-metadata">

**Author:** ![F5\_Design\_Engineer](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/f5_design_engineer/32/2479_2.png) [@F5\_Design\_Engineer](https://community.f5.com/u/F5_Design_Engineer)\
**Post date:** [May 2, 2024, 11:20pm UTC](https://community.f5.com/t/gtm-packet-capture-command/74450/2 "2024-05-02T23:20:05Z")

</div>

Hi Aditya,

You can try using the following formats by changing the host IP as per your configuration.

**tcpdump -vvv -s0 &nbsp;-nni 0.0:nnnp udp port 53 and host 1.2.3.4 -w /var/tmp/$(/bin/hostname)\_$(date +%Y-%m-%d)\_$(date +%H:%M).pcap**

First, find out which interface you want to sniff with the “ifconfig” command. If the destination server is located on an interface called “vlan1275” you can dump all DNS traffic to a specific IP address thus

**tcpdump -i vlan1275 udp port 53 and host 1.2.3.4 -w /var/tmp/$(/bin/hostname)\_$(date +%Y-%m-%d)\_$(date +%H:%M).pcap**

You can refer following articles

K411: Overview of packet tracing with the tcpdump utility

> **[myF5](https://my.f5.com/manage/s/article/K411)**

K00463541: A breakdown of the tcpdump utility, recommended actions, and information to help you use and apply it to the BIG-IP.

> **[myF5](https://my.f5.com/manage/s/article/K00463541)**

HTH

🙏

---

<div class="post-metadata">

**Author:** ![HarunTuna](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/haruntuna/32/17411_2.png) [@HarunTuna](https://community.f5.com/u/HarunTuna)\
**Post date:** [May 3, 2024, 9:43am UTC](https://community.f5.com/t/gtm-packet-capture-command/74450/3 "2024-05-03T09:43:33Z")

</div>

Hi,

You can have a look this link, [https://clouddocs.f5.com/training/community/dns/html/class4/module1/lab4.html](https://clouddocs.f5.com/training/community/dns/html/class4/module1/lab4.html).

I hope would be helpful.
