Hi Ben,

Thanks for your response . Let me try this and get back to you.

Thanks,
Chetan

On Thu, Aug 26, 2021 at 5:52 PM Benoit Ganne (bganne) <bga...@cisco.com>
wrote:

> > We want to capture all packets with src ip or dest ip as 10.20.30.40 .I
> > have tried with classify filter but no success. Looks like I am missing
> > something.
> > Can anybody please suggest the commands .
>
> Something like this should do it:
>
> ~# vppctl classify filter pcap mask l3 ip4 src match l3 ip4 src 10.20.30.40
> ~# vppctl classify filter pcap mask l3 ip4 dst match l3 ip4 dst 10.20.30.40
> ~# vppctl pcap trace rx tx max 1000 filter
> <wait for some traffic to go through...>
> ~# vppctl pcap trace rx tx off
>
> Best
> ben
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20029): https://lists.fd.io/g/vpp-dev/message/20029
Mute This Topic: https://lists.fd.io/mt/85158833/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to