Product Documentation

Configuring a Responder Policy

Aug 31, 2016

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 configuration utility provides assistance that is not available at the NetScaler command prompt.

To configure a responder policy by using the command line interface

At the command prompt, type the following command to add a new responder policy and verify the configuration:
  • 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

To modify an existing responder policy by using the command line interface

At the command prompt, type the following command to modify an existing responder policy and verify the configuration:
  • set responder policy <name> [-rule <expression>] [-action <string>] [-undefAction <string>]
  • show responder policy <name>

To remove a responder policy by using the command line interface

At the command prompt, type the following command to remove a responder policy and verify the configuration:
  • rm responder policy <name>
  • show responder policy

Example

  
>rm responder policy pol404Error 
 Done 
 
> show responder policy 
 Done

To configure a responder policy by using the configuration utility

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