Maximum Client Concurrent Connection Limit
- Last Updated: October 9, 2024
- 2 minute read
- LoadMaster
- LoadMaster GA
- Documentation
To list the existing client concurrent connection limits, run the clientmaxclimitlist command, for example:
/access/clientmaxclimitlistTo add a new client concurrent connection limit, run the clientmaxclimitadd command, for example:
/access/clientmaxclimitadd?l7addr=<Address>&l7limit=<Limit>To delete an existing client concurrent connection limit, run the clientmaxclimitdel command, for example:
/access/clientmaxclimitdel?l7addr=<Address>Client CPS Limit
To list the existing Connections Per Second (CPS) limits, run the clientcpslimitlist command, for example:
/access/clientcpslimitlistTo add a new CPS limit, run the clientcpslimitadd command, for example:
/access/clientcpslimitadd?l7addr=<Address>&l7limit=<Limit>To delete an existing CPS limit, run the clientcpslimitdel command, for example:
/access/clientcpslimitdel?l7addr=<Address>Legacy Client CPS Limit Commands
Before the rate limiting functionality was improved in LoadMaster version 7.2.52, you could run the following commands relating to client CPS limits.
Client limiting can be used to limit the default maximum number of connection attempts (per second) from a specified host. The limit can be set using the set parameter, for example:
https://<DeviceIPAddress>/access/set?param=l7limitinput&value=25Setting the limit to zero disables the option.
A number of addresses or networks can be specified to be limited. To add an address, run the command below:
https://<DeviceIPAddress>/access/afeclientlimitadd?l7addr=<L7Address>&l7limit=<L7Limit>To delete an address, run the command below:
https://<DeviceIPAddress>/access/afeclientlimitdel?l7addr=<L7Address>To list the addresses and their limits, run the command below:
https://<DeviceIPAddress>/access/afeclientlimitlist?Client RPS Limit
To list the existing RPS limits, run the clientrpslimitlist command, for example:
/access/clientrpslimitlistTo add a new RPS limit, run the clientrpslimitadd command, for example:
/access/clientrpslimitadd?l7addr=<Address>&l7limit=<Limit>To delete an existing RPS limit, run the clientrpslimitdel command, for example:
/access/clientrpslimitdel?l7addr=<Address>Client Bandwidth Limit
To list the existing client bandwidth limits, run the clientbandwidthlimitlist command, for example:
/access/clientbandwidthlimitlistTo add a new client bandwidth limit, run the clientbandwidthlimitadd command, for example:
/access/clientbandwidthlimitadd?l7addr=<Address>&l7limit=<Limit>To delete an existing client bandwidth limit, run the clientbandwidthlimitdel command, for example:
/access/clientbandwidthlimitdel?l7addr=<Address>Per-Virtual Service Limits
To add a new Virtual Service with limits, run the addvs command, for example:
/access/addvs?vs=<VirtualServiceAddress>&port=<VirtualServicePort>&prot=<tcp/udp>&ConnsPerSecLimit=<Limit>&RequestsPerSecLimit=<Limit>&MaxConnsLimit=<Limit>&bandwidth=<Limit>To modify the limits for an existing Virtual Service, run the modvs command, for example:
/access/modvs?vs=<VirtualServiceAddress>&port=<VirtualServicePort>&prot=<tcp/udp>&ConnsPerSecLimit=<Limit>&RequestsPerSecLimit=<Limit>&MaxConnsLimit=<Limit>&bandwidth=<Limit>To modify the limits for an existing SubVS, run the modvs command, for example:
/access/modvs?vs=<SubVSIndex>&ConnsPerSecLimit=<Limit>&RequestsPerSecLimit=<Limit>&MaxConnsLimit=<Limit>&bandwidth=<Limit>You can retrieve the SubVS Index by running the listvs command or by checking the Id at the top of the SubVS modify screen.