Configuring 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 NetScaler command prompt.

To configure a responder policy by using the NetScaler command line:

At the command prompt, type:

  • add responder policy []-appFlowaction

  • show responder policy

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 NetScaler command line:

At the command prompt, type:

  • set responder policy [-rule ] [-action ] [-undefAction ]

  • show responder policy

To remove a responder policy by using the NetScaler command line:

At the command prompt, type:

  • rm responder policy

  • show responder policy

Example:


>rm responder policy pol404Error
 Done

> show responder policy
 Done

To 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 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.

Configuring a Responder Policy

In this article