ADC

Configure a responder policy

After you configure a responder action, you must next configure a responder policy to select the requests to which the NetScaler appliance should respond. A responder policy is based on a rule, which consists of one or more expressions. The rule is associated with an action, which is performed if a request matches the rule.

Note:

For creating and managing responder policies, the GUI provides assistance that is not available at the CLI.

Configure a responder policy by using the CLI

At the command prompt, type:

  • add responder policy <name> <expression> <action> [<undefaction>]-appFlowaction <actionName>

  • show responder policy <name>

Example:

> add responder policy policyThree "CLIENT.IP.SRC.IN_SUBNET(222.222.0.0/16)" RESET
 Done

> show responder policy policyThree

        Name: policyThree
        Rule: CLIENT.IP.SRC.IN_SUBNET(222.222.0.0/16)
        Responder Action: RESET
        UndefAction: Use Global
        Hits: 0
        Undef Hits: 0
 Done
<!--NeedCopy-->

Modify an existing responder policy by using the CLI

At the command prompt, type:

  • set responder policy <name> [-rule <expression>] [-action <string>] [-undefAction <string>]
  • show responder policy <name>

Remove a responder policy by using the CLI

At the command prompt, type:

  • rm responder policy <name>

  • show responder policy

Example:


>rm responder policy pol404Error
 Done

> show responder policy
 Done
<!--NeedCopy-->

Configure a responder policy by using the GUI

  1. Navigate to AppExpert > Responder > Policies.
  2. In the details pane, do one of the following:
    • To create a policy, click Add.
    • To modify an existing policy, select the policy, and then click Open.
  3. Click Create or OK, depending on whether you want to create a policy or modify an existing policy.
  4. Click Close. A message appears in the status bar, stating that the feature has been configured.

Note:

The HTTP.REQ based expressions don’t work with the SSL_BRIDGE protocol type.

Configure a responder policy