T4240 Ingress packet rate limiting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

T4240 Ingress packet rate limiting

762 Views
sedat_altun
Contributor III

Hi,

Is it possible to limit the ingress packet rate on T4240RDB?

 

0 Kudos
Reply
3 Replies

710 Views
LFGP
NXP TechSupport
NXP TechSupport

We don't have any specific example for your case.

You can't restrict the traffic inbound as such, if want that, you need a firewall in the middle, but you can drop_traffic by using some policy file; in other words, you can distributing frames over a range of frames queues ( FQs ) and the traffic that not compliant with the policy will be dropped.  

0 Kudos
Reply

745 Views
LFGP
NXP TechSupport
NXP TechSupport

It could be done by using the Linux tools, but the performance will not be the best.
Please review the next links , that show you how to controle the traffic inbound

https://serverfault.com/questions/507658/limit-incoming-and-outgoing-bandwidth-and-latency-in-linux

https://www.man7.org/linux/man-pages/man8/tc-police.8.html

https://www.baeldung.com/linux/iptables-packet-rate-limit    

regards

0 Kudos
Reply

719 Views
sedat_altun
Contributor III

Thank you for your reply.

But as you mentioned it is not a good solution to use linux tools. Instead I am looking for a mechanism using T4240 SoC capabilities. For example we have a solution for limiting egress rate by using fmc tool, and we are seeking a similar solution at ingress.

 

0 Kudos
Reply