Thanks chemmin for your help.

I see that classify table can provide support for l2 and l3, I wonder if the 
similar command provides support for TCP port filtering?
Does anybody know that?

Thanks
Zhiyong
From: Sun, Chenmin <chenmin....@intel.com>
Sent: Friday, September 20, 2019 12:45 PM
To: Yang, Zhiyong <zhiyong.y...@intel.com>; vpp-dev@lists.fd.io
Cc: rya...@yunify.com; Ni, Hongjun <hongjun...@intel.com>
Subject: RE: hi guys, does any CLI support to filter out some pakcets with 
specific TCP port on physical interface ? thanks for any input

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> 
[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<mailto:vpp-dev@lists.fd.io>
Cc: rya...@yunify.com<mailto:rya...@yunify.com>; Ni, Hongjun 
<hongjun...@intel.com<mailto: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 (#14027): https://lists.fd.io/g/vpp-dev/message/14027
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to