Forum Discussion
Looking for a TMSH command to check traffic flow
- Nov 08, 2023
JayanthLakshmipathy I'm not sure if a command exists that would show this because the typical connection table outputs source IP, source port, destination IP, destination port, and destination pool member. I think the only option to look at connections in a reactive way would be to perform a tcpdump with the following flags that would insert F5 information about where the traffic is going.
tcpdump -nni 0.0:nnp host <client_IP> -w /shared/tmp/my_cap.pcap
Hello,
You can filter by the client side IP if need to check which virtual server is selected.
Command:
#show sys connection cs-client-addr 192.168.8.1
Output:
Sys::Connections
client IP virtual server IP source from F5 (self IP) backend server
192.168.8.1:54105 192.168.8.100:80 192.168.7.111:26379 192.168.7.100:80 tcp 4 (tmm: 1)
There are also multiple options in show sys connection that you can check and verify with.
command output explanation:
https://my.f5.com/manage/s/article/K40033505
command options:
https://my.f5.com/manage/s/article/K53851362
Thanks,
Mohamed Salah
Recent Discussions
Related Content
* 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