Quantcast
Channel: All SRX Services Gateway posts
Viewing all articles
Browse latest Browse all 17645

Re: quality of service for beginner

$
0
0

Hi, 

 

You could use a policer to rate limit http traffic . Example:

firewall {
    family inet {
        filter HTTP {
            term HTTP {
                from {
                    port [ http https ];
                }
                then {
                    policer HTTP;
count HTTP; accept; } } term ELSE { then accept; } } } policer HTTP { if-exceeding { bandwidth-limit 3m; burst-size-limit 30m; } then discard; } }

The firewall filter could be applied as input to the ingress interfaces and as output too.

http/https is asymmetric with less upload traffic compared to download traffic and its the download traffic that you would want to rate-limit.  Hopefully, the rate-limit working in conjuction with TCP window resize would bring down the traffic.

You can apply a lower bandwidth limit on the input if needed.

 

Can you share your policer config so we can see why its not being matched.

 

Cheers,

Ashvin


Viewing all articles
Browse latest Browse all 17645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>