ADC

Configuring a Responder Policy

After you configure a responder action, you must next configure a responder policy to select the requests to which the Citrix ADC 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 Citrix ADC command prompt.

To configure a responder policy by using the Citrix ADC command line:

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

To modify an existing responder policy by using the Citrix ADC command line:

At the command prompt, type:

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

  • show responder policy <name>

To remove a responder policy by using the Citrix ADC command line:

At the command prompt, type:

  • rm responder policy <name>

  • show responder policy

Example:


>rm responder policy pol404Error
 Done

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

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