Hi zhiyong, You can try 'test flow' command in CLI. The short help is incomplete, I'm going to add more information into it. So please check the source code flow_cli.c for help.
For your case, you can use: test flow add src-ip 10.10.10.10 dst-ip 20.20.20.20 proto tcp src-port 100 queue 5 test flow enable index 0 1/1 where, queue 5 means to redirect the packet to queue 5 1/1 is your interface name. ----------------------------- Best Regards, Sun, Chenmin From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Zhiyong Yang Sent: Friday, September 20, 2019 12:39 PM To: vpp-dev@lists.fd.io Cc: rya...@yunify.com; Ni, Hongjun <hongjun...@intel.com> Subject: [vpp-dev] hi guys, does any CLI support to filter out some pakcets with specific TCP port on physical interface ? thanks for any input
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14025): https://lists.fd.io/g/vpp-dev/message/14025 Mute This Topic: https://lists.fd.io/mt/34220878/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-