The amount of data that can be sent in a request plus the URL & cookie lengths.

Where we define the following in F5? The amount of data that can be sent in a request plus the URL & cookie lengths.

In the TCP profile you can define the Maximum Segment Size value (default is 1460 bytes). Menu Local Traffic->Profile->Protocols->TCP

For the cookie lengh, you can define it inside an ASM policy, otherwise with an iRule (to check the lenght and reject the packet if too long)