You implement rate-based application behavior by configuring a policy in an appropriate NetScaler feature. The feature must support default syntax policies. The policy expression must contain the following expression prefix to enable the feature to analyze the traffic rate:
Where limit_identifier is the name of a limit identifier.
The policy expression must be a compound expression that contains at least two components:
At the command prompt, type the following command to configure a rate-based policy and verify the configuration:
Following is a complete example of a rate-based policy rule. Note that this example assumes that you have configured the responder action, send_direct_url, that is associated with the policy. Note that the sys.check_limit parameter must be the last element of the policy expression:
add responder policy responder_threshold_policy "http.req.url.contains(\"myindex.html\") && sys.check_limit(\"my_limit_identifier\")" send_direct_url
For information about binding a policy globally or to a virtual server, see "Binding Default Syntax Policies."
http.req.url.contains("my_aspx.aspx") && sys.check_limit("my_limit_identifier")
For example, you may be required to associate the policy with an action or a profile. For more information, see the feature-specific documentation.