07-Nov-2023 20:34
Hi
I have few VS configured with source, destination and port as ANY. Its an early configuration, not sure whats the background. I can see traffic on all VS statistics.
Would like to check, is there any way to find our which traffic is transmitted via which VS?
I know source, destination and port of the traffic and can simulate the traffic to verify. Appreciate if anyone can share with me command or possibilities?
Thank you
Jay
Solved! Go to Solution.
07-Nov-2023 21:38
@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
07-Nov-2023 21:38
@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
09-Nov-2023 23:51
Hi Paulius
tcpdump, helped in getting what i need. Thanks very much.
Thank you
Jay
08-Nov-2023 04:25 - edited 08-Nov-2023 04:26
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