Forum Discussion
Gopal123
Altostratus
Feb 01, 2024Need help regarding F5 LTM iRule
Hi Team, We have a legacy virtual server configured with no pool members, but a iRule is tagged under the VIP. If anyone can help me to find a way that I can find whether actually that VIP is cu...
Feb 01, 2024
Hi,
you have multiple ways:
- The most perfect one is to take a Packet capture and have a look on it, try the below command:
- tcpdump -vvnni 0.0:nnnp host <your_IP> -s0 -vw /var/tmp/TestVS.pcap
or
tcpdump -vvnni 0.0:nnnp host <VS_IP> -s0 -vw /var/tmp/TestVS.pcap - use one of those commands you'll be able to see the client/server-side connections that hit this virtual server also you will see which pool selected for each connection.
- tcpdump -vvnni 0.0:nnnp host <your_IP> -s0 -vw /var/tmp/TestVS.pcap
- another Perfect way and easiest one, you can use display the active connections, using the below command:
- tmsh show /sys connection cs-server-addr <vs_ip> cs-server-port <vs_port>
- look at these articles explain this command:
- Consider using filters when using show sys connection command , don't run just " show sys connections " because in production environment it will give you huge amount of connections and you don't need them also it affects the device performance , so please use Filters like I used in the command above you can use ( VS IP or Client IP "source" ) in the first article you can navigate all filters/options that is used with this command.
- you can also Reset all stats and check VS and Pools stats to validate that the VS receiving connections, but I prefer the first two methods.
Thanks
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects