Hi ,
If you want to capture traffic from client that is sending to server and the output interface is connected to same switch.
Then we can apply a firewall filter on the ingress direction of the port the client connected to filter traffic that is sending to server then forward it to analyser.
[edit]
root@vsa# show firewall
family inet {
filter hai {
term 1 {
from {
source-address {
192.168.1.1/24;
}
destination-address {
10.1.1.1/24;
}
}
then {
analyzer forum;
accept;
}
}
}
}
[edit]
root@vsa# show ethernet-switching-options
analyzer forum {
output {
interface {
ge-0/0/20.0;
}
}
}
I hope this helps.