Limiting traffic for a specific VS without dropping all the new request

Hi, I’m quite new in this kind of job and want to implement a specific traffic shaping on a VS. What I want to do, is not to priorize one or more client request , but just want to drop the request over a threshold. I’ve tried a couple of traffic shaping configuration, but not find the solution to do so. Each time, all my request are dropped until the traffic goes to zero (!), but I don’t want to that ! Just want to shape the traffic exeeding the threshold. For example, if I receive 5000 request on my VS (and my threshold is 4000), I want to answer the 4000 first one and drop the 1000 exceeding (I’m in a configuration where limited burst are possible, and I just want my client to retry a few seconds after). Does anyone know if it’s possible with F5 (F5 VIPRION with LTM in version 11.5) ?

Have you looked at utilising the virtual server connection limit and tcp request queuing feature ? 404 Page not found | BIG-IP Documentation

Alternatively here’s a Hoolio classic DevCentral - An F5 Technical Community

Thanks, First, I add this information, I’m in version 11.4 hotfix 8 :slight_smile: - The first solution is not appropriate, as I want to drop every requests over a threshold to protect my back-office. - The second one should work, but I’m surprised, not to found this type of limitation included in the product. But I’ll try !