Chapter 2 Configuring Advanced Policies 23
To bind a Rewrite advanced policy globally by using the NetScaler
command line
At the NetScaler command prompt, type:
bind rewrite global <policyName> <positiveIntegerAsPriority> [-type
REQ_OVERRIDE | REQ_DEFAULT | RES_OVERRIDE | RES_DEFAULT]
The type argument is optional for globally bound policies, to maintain
backward compatibility. If you omit the type, the policy is bound to
REQ_DEFAULT or RES_DEFAULT, depending on whether the policy rule is a
response-time or a request-time expression.
Example
bind rewrite global myPolicy1 200
To bind a Responder advanced policy globally by using the NetScaler
command line
At the NetScaler command prompt, type:
bind responder global <policyName> <positiveIntegerAsPriority>
[-type OVERRIDE | DEFAULT ]
To bind a DNS advanced policy globally by using the NetScaler command
line
At the NetScaler command prompt, type:
bind dns global <policyName> <positiveIntegerAsPriority>
To bind an Integrated Caching, Responder, or Rewrite advanced policy
globally by using the configuration utility
1. In the navigation pane, click the name of the feature for which you want to
bind the policy.
2. In the details pane, click <Feature Name> policy manager.
3. In the Policy Manager dialog box, select the bind point to which you want
to bind the policy (for example, for Integrated Caching or Rewrite, you
could select Request and Default Global). The Responder does not
differentiate between request-time and response-time policies.
4. Click Insert Policy and, from the Policy Name pop-up menu, select the
policy name. A priority is assigned automatically to the policy, but you can
click the cell in the Priority column and drag it anywhere within the dialog
box if you want the policy to be evaluated after other policies in this bank.
The priority is automatically reset. Note that priority values within a policy
bank must be unique.
5. Click Apply Changes.