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 []-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 Citrix ADC command line:

At the command prompt, type:

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

  • show responder policy

To remove a responder policy by using the Citrix ADC 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.
    • 修改一个现有的政策,选择政策,nd 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