Chapter 2

Configuring Advanced Policies

31

bind cache global NOPOLICY -priority 104 -gotoPriorityExpression next -type RES_OVERRIDE -invoke resvserver lab2

To invoke a policy label from a Responder policy bank by using the

NetScaler command line

At the NetScaler command prompt, type:

bind responder global NOPOLICY <priority>

<gotopriorityExpression>

-type OVERRIDEDEFAULT -invoke vserverpolicylabel <policyLabelName><vserverName>

Example

bind responder global NOPOLICY 100 NEXT -type OVERRIDE -invoke policylabel responderlabel2

To configure a policy label by using the configuration utility

1.In the navigation pane, expand the feature for which you want to configure a policy label, and then click Policy Labels.

The choices are Integrated Caching, Rewrite, or Responder.

2.In the details pane, double-click the label that you want to configure.

3.If you are adding a new policy to this policy label, click Insert Policy, and in the Policy Name field, select New Policy. For more information about adding a policy, see “Creating or Modifying an Advanced Policy,” on page 14.

Note that if you are invoking a policy bank, and do not want a rule to be evaluated prior to the invocation, click Insert Policy, and in the Policy Name field select NOPOLICY.

4.For each entry in this policy label, configure the following:

Policy Name: This is already determined by the Policy Name, new policy, or NOPOLICY entry that you inserted in this bank.

Priority: A numeric value that determines either an absolute order of evaluation within the bank, or is used in conjunction with a Goto expression.

Expression: The policy rule. Advanced policy expressions are described in detail in the following chapters. For an introduction, see “Configuring Advanced Expressions: Getting Started,” on page 39.

Action: The action to be taken if this policy evaluates to TRUE.

Goto Expression: Optional. Used to augment the Priority level to determine the next policy or policy bank to evaluate. For more

Page 45
Image 45
Citrix Systems 9.2 manual Choices are Integrated Caching, Rewrite, or Responder